summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irc/core/channels-setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/core/channels-setup.c b/src/irc/core/channels-setup.c
index 3d40ad0b..4f3cf17b 100644
--- a/src/irc/core/channels-setup.c
+++ b/src/irc/core/channels-setup.c
@@ -158,6 +158,7 @@ static void channel_wholist(CHANNEL_REC *channel)
if (rec->botmasks == NULL || !*rec->botmasks) {
/* just send the command. */
eval_special_string(rec->autosendcmd, "", channel->server, channel);
+ return;
}
/* find first available bot.. */