mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
Change when the autocmds are sent.
As per #175 if a -botcmd is specified for a given channel without a -bots parameter then the command is sent right after joining the channel.
This commit is contained in:
parent
62cab9d662
commit
2502080871
2 changed files with 14 additions and 3 deletions
|
|
@ -25,9 +25,11 @@
|
|||
void irc_channels_setup_init(void)
|
||||
{
|
||||
signal_add("channel wholist", (SIGNAL_FUNC) channel_send_autocommands);
|
||||
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 joined", (SIGNAL_FUNC) channel_send_autocommands);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue