netedit: add way to specify the room we want to edit.
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 26 Mar 2012 20:35:45 +0000 (22:35 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 26 Mar 2012 20:35:45 +0000 (22:35 +0200)
webcit/roomops.c

index 0777eefe33d619c4131500dfc54c0beffd06a084..edc09dec0eb1ca2ca74d5508a41471276217283b 100644 (file)
@@ -1038,6 +1038,9 @@ void netedit(void) {
        StrBuf *TmpBuf;
        int Done;
 
+        if (havebstr("force_room")) {
+                gotoroom(sbstr("force_room"));
+       }
        /*/ TODO: do line dynamic! */
        if (havebstr("line_pop3host")) {
                strcpy(line, bstr("prefix"));