Fixed bug in @pcreate CMD_T_RS_ARGS
authorRick L Bird <nveid@yahoo.com>
Fri, 22 Apr 2011 21:28:40 +0000 (17:28 -0400)
committerRick L Bird <nveid@yahoo.com>
Fri, 22 Apr 2011 21:28:40 +0000 (17:28 -0400)
src/command.c

index 2278a22f144ebb60c50fbafd599dd1c9283d8f2f..30b0f4f1203805c993997e0c61b5cc3282016908 100644 (file)
@@ -249,7 +249,7 @@ COMLIST commands[] = {
   {"@PARENT", NULL, cmd_parent, CMD_T_ANY | CMD_T_EQSPLIT, NULL},
   {"@PASSWORD", NULL, cmd_password, CMD_T_PLAYER | CMD_T_EQSPLIT
    | CMD_T_RS_NOPARSE | CMD_T_NOGUEST, NULL},
-  {"@PCREATE", NULL, cmd_pcreate, CMD_T_ANY | CMD_T_EQSPLIT, NULL},
+  {"@PCREATE", NULL, cmd_pcreate, CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_RS_ARGS, "!POWER^GUEST"},
 
   {"@PEMIT", "LIST CONTENTS SILENT NOISY NOEVAL SPOOF", cmd_pemit,
    CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_NOGAGGED, NULL},