svn: 1134
@@ -4,6 +4,7 @@ This is a summary of ChangeLog basically.
1.Fixed cmd_help to display the proper entry.
2.HUBS now save userfile on remote cmd_chattr.
+3.cmd_bots was showing all bots instead of just the ones up.
1.1.8
@@ -551,7 +551,7 @@ tell_bots(int idx, int up)
for (u = userlist; u; u = u->next) {
if (u->bot) {
if (egg_strcasecmp(u->handle, conf.bot->nick)) {
- if ((!up && nextbot(u->handle) == -1) || (up && nextbot(u->handle))) {
+ if ((!up && !findbot(u->handle)) || (up && findbot(u->handle))) {
strcat(work, u->handle);
cnt++;
tot++;