summaryrefslogtreecommitdiff
path: root/src/irc/bot/botnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/bot/botnet.c')
-rw-r--r--src/irc/bot/botnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/bot/botnet.c b/src/irc/bot/botnet.c
index 9331e1d4..03a1749c 100644
--- a/src/irc/bot/botnet.c
+++ b/src/irc/bot/botnet.c
@@ -32,7 +32,7 @@
void botnet_connection_init(void);
void botnet_connection_deinit(void);
-static GSList *botnets;
+GSList *botnets;
void bot_send_cmd(BOT_REC *bot, char *data)
{
@@ -591,7 +591,7 @@ static void autoconnect_botnets(void)
BOTNET_REC *rec = tmp->data;
if (rec->autoconnect)
- botnet_connect(rec->name);
+ botnet_connect(rec);
}
}