1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Add signals when connecting/disconnecting from IRC servers

This commit is contained in:
Sebastien Helleu
2008-11-16 22:23:09 +01:00
parent 7c52a36e23
commit b8da64e669
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -2391,6 +2391,10 @@ irc_protocol_cmd_001 (struct t_irc_server *server, const char *command,
}
}
/* send signal "irc_server_connected" with server name */
weechat_hook_signal_send ("irc_server_connected",
WEECHAT_HOOK_SIGNAL_STRING, server->name);
/* execute command when connected */
if (server->command && server->command[0])
{