فهرست منبع

* Compile fixes

svn: 748
Bryan Drewery 22 سال پیش
والد
کامیت
f76197d5d5
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 0 1
      doc/UPDATES
  2. 1 1
      src/cmds.c

+ 0 - 1
doc/UPDATES

@@ -10,7 +10,6 @@ This is a summary of ChangeLog basically.
 7.And if no bots are listed, the bot nows gives an error.
 8.cmd_quit was not returning from 'su' correctly.
 9.Fixed bots mass sending out CONFIG entries when they linked.
-10.Fixed a bug in processcheck.
 
 1.1.0
 1.Rewrote the shell config parsing...

+ 1 - 1
src/cmds.c

@@ -1562,7 +1562,7 @@ static void cmd_botcmd(struct userrec *u, int idx, char *par)
   }
   
   for (tbot = tandbot; tbot; tbot = tbot->next) {
-    if (!strcmp(botm, "?") && bot_hublevel(get_user_by_handle(userlist, tbot->bot) != 999)
+    if (!strcmp(botm, "?") && bot_hublevel(get_user_by_handle(userlist, tbot->bot)) != 999)
       continue;
 
     if ((rleaf != (-1) && cnt == rleaf) || ((rleaf == (-1) && wild_match(botm, tbot->bot)))) {