|
|
@@ -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)))) {
|