summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-channels-setup.c
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2016-01-24 23:02:40 +0100
committerLemonBoy <thatlemon@gmail.com>2016-01-24 23:02:40 +0100
commiteba160ca6df194913d80df67c19e929b9428d77e (patch)
treef61bcf4e9321dd4c28b8241e5c089ffa1f8998ec /src/irc/core/irc-channels-setup.c
parent25020808710f359e75a85a5252bf0f72443d09ee (diff)
downloadirssi-eba160ca6df194913d80df67c19e929b9428d77e.zip
Duplicate the code paths for autocommands.
Diffstat (limited to 'src/irc/core/irc-channels-setup.c')
-rw-r--r--src/irc/core/irc-channels-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc-channels-setup.c b/src/irc/core/irc-channels-setup.c
index be69ad63..bbbc095c 100644
--- a/src/irc/core/irc-channels-setup.c
+++ b/src/irc/core/irc-channels-setup.c
@@ -24,12 +24,12 @@
void irc_channels_setup_init(void)
{
- signal_add("channel wholist", (SIGNAL_FUNC) channel_send_autocommands);
+ signal_add("channel wholist", (SIGNAL_FUNC) channel_send_botcommands);
signal_add("channel joined", (SIGNAL_FUNC) channel_send_autocommands);
}
void irc_channels_setup_deinit(void)
{
- signal_remove("channel wholist", (SIGNAL_FUNC) channel_send_autocommands);
+ signal_remove("channel wholist", (SIGNAL_FUNC) channel_send_botcommands);
signal_remove("channel joined", (SIGNAL_FUNC) channel_send_autocommands);
}