1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 06:46:38 +02:00

Add signals for IRC messages (recv/sent)

This commit is contained in:
Sebastien Helleu
2008-07-18 11:16:20 +02:00
parent fe302c1722
commit 7f7765f7cf
3 changed files with 56 additions and 7 deletions
+3
View File
@@ -4115,6 +4115,9 @@ irc_protocol_recv_command (struct t_irc_server *server, const char *entire_line,
if (!command)
return;
/* send signal with received command */
irc_server_send_signal (server, "irc_in", command, entire_line);
/* look for IRC command */
cmd_found = -1;
for (i = 0; irc_protocol_messages[i].name; i++)