浏览代码

svn: 1119

Bryan Drewery 22 年之前
父节点
当前提交
45a6167305
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 0
      doc/UPDATES
  2. 2 2
      src/cmds.c

+ 1 - 0
doc/UPDATES

@@ -29,6 +29,7 @@ This is a summary of ChangeLog basically.
 25.Now dumping the stack on SIGSEGV.
 25.Now dumping the stack on SIGSEGV.
 26.Fixed hub not searching for update bins in it's own dir.
 26.Fixed hub not searching for update bins in it's own dir.
 27.Shell config option 'watcher', will make 1 extra PID per bot to block process hijackers.
 27.Shell config option 'watcher', will make 1 extra PID per bot to block process hijackers.
+   - This is disabled and will be in 1.1.9 -
 28.Added cmd: swhois, see help.
 28.Added cmd: swhois, see help.
 29.Rewrote nick generator on 'nick in use'
 29.Rewrote nick generator on 'nick in use'
 30.Detected promisc now shows which interface.
 30.Detected promisc now shows which interface.

+ 2 - 2
src/cmds.c

@@ -780,7 +780,7 @@ static void cmd_help(struct userrec *u, int idx, char *par)
 {
 {
   char flg[100] = "", *fcats = NULL, temp[100] = "", buf[2046] = "", match[20] = "";
   char flg[100] = "", *fcats = NULL, temp[100] = "", buf[2046] = "", match[20] = "";
   int fnd = 0, done = 0, nowild = 0;
   int fnd = 0, done = 0, nowild = 0;
-  struct flag_record fr = {FR_GLOBAL | FR_CHAN | FR_ANY, 0, 0, 0 };
+  struct flag_record fr = {FR_GLOBAL | FR_CHAN | FR_ANYWH, 0, 0, 0 };
 
 
   egg_snprintf(temp, sizeof temp, "a|- a|a n|- n|n m|- m|m mo|o m|o i|- o|o o|- p|- -|-");
   egg_snprintf(temp, sizeof temp, "a|- a|a n|- n|n m|- m|m mo|o m|o i|- o|o o|- p|- -|-");
   fcats = temp;
   fcats = temp;
@@ -862,7 +862,7 @@ static void cmd_help(struct userrec *u, int idx, char *par)
   } else if (!fnd) {
   } else if (!fnd) {
     dprintf(idx, "No match for '%s'.\n", match);
     dprintf(idx, "No match for '%s'.\n", match);
   }
   }
-  dprintf(idx, "Some commands may require you to '%sconsole #chan' to a chan you have flags on first.\n", dcc_prefix
+  dprintf(idx, "Some commands may require you to '%sconsole #chan' to a chan you have flags on first.\n", dcc_prefix);
 }
 }
 
 
 static void cmd_addlog(struct userrec *u, int idx, char *par)
 static void cmd_addlog(struct userrec *u, int idx, char *par)