summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-07-18 11:16:20 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-07-18 11:16:20 +0200
commit7f7765f7cf700b0fe99df0cc9cf860da2f7d9fdb (patch)
tree99c41f388dee79342c0ae45cccc8556388eef95f /src/plugins/irc/irc-protocol.c
parentfe302c1722bd9af65c78a43e3b4bab279f5026b4 (diff)
downloadweechat-7f7765f7cf700b0fe99df0cc9cf860da2f7d9fdb.zip
Add signals for IRC messages (recv/sent)
Diffstat (limited to 'src/plugins/irc/irc-protocol.c')
-rw-r--r--src/plugins/irc/irc-protocol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index a1e3c99a9..a8777965b 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -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++)