]> code.citadel.org Git - citadel.git/commitdiff
* Fixed bug in cmd_cre8() causing protocol to get out of sync when creating
authorMichael Hampton <io_error@uncensored.citadel.org>
Mon, 14 Jan 2002 08:49:13 +0000 (08:49 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Mon, 14 Jan 2002 08:49:13 +0000 (08:49 +0000)
  a new room

citadel/ChangeLog
citadel/room_ops.c

index 2f0ea96a87115d818cf6e8d32fba2a29e52977c4..36e4c571bd4c178126f732551b54121177d035f1 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 590.60  2002/01/14 08:49:13  error
+ * Fixed bug in cmd_cre8() causing protocol to get out of sync when creating
+   a new room
+
  Revision 590.59  2002/01/13 04:46:31  ajc
  * Allow incoming SMTP to relay to other Citadel nodes for whom we are
    providing directory service.
@@ -3147,4 +3151,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index 916360a968086eb38765813c99660cc8e430ccac..aa53f6f2fe1c3fabe6281ea760d58a0072b084bb 100644 (file)
@@ -1382,7 +1382,6 @@ void cmd_cre8(char *args)
        int new_room_floor;
        char aaa[SIZ];
        unsigned newflags;
-       struct quickroom qrbuf;
        struct floor *fl;
 
        cre8_ok = extract_int(args, 0);
@@ -1438,7 +1437,7 @@ void cmd_cre8(char *args)
                           new_room_type, new_room_pass, new_room_floor, 0);
        if (newflags == 0) {
                cprintf("%d '%s' already exists.\n",
-                       ERROR + ALREADY_EXISTS, qrbuf.QRname);
+                       ERROR + ALREADY_EXISTS, new_room_name);
                return;
        }
 
@@ -1469,7 +1468,7 @@ void cmd_cre8(char *args)
        strcat(aaa, "\n");
        aide_message(aaa);
 
-       cprintf("%d '%s' has been created.\n", OK, qrbuf.QRname);
+       cprintf("%d '%s' has been created.\n", OK, new_room_name);
 }