Bryan Drewery %!s(int64=22) %!d(string=hai) anos
pai
achega
45a6167305
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  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.
 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.
+   - This is disabled and will be in 1.1.9 -
 28.Added cmd: swhois, see help.
 29.Rewrote nick generator on 'nick in use'
 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] = "";
   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|- -|-");
   fcats = temp;
@@ -862,7 +862,7 @@ static void cmd_help(struct userrec *u, int idx, char *par)
   } else if (!fnd) {
     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)