summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-09 22:03:20 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-09 22:03:20 +0000
commitf3d4c6bc63e1d25f5c35f1a87fe91087cd5d9923 (patch)
tree8507bd799f7c3c28385fc3fc779848dc17e095d5
parent07106c40295ffa24178b3ee0502c9cc3b0ed7675 (diff)
downloadirssi-f3d4c6bc63e1d25f5c35f1a87fe91087cd5d9923.zip
let actions pass through the proxy to clients, they're not "real" CTCPs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@828 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/irc/proxy/listen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c
index a595f112..2d34ec0b 100644
--- a/src/irc/proxy/listen.c
+++ b/src/irc/proxy/listen.c
@@ -356,7 +356,8 @@ static void sig_server_event(const char *line, IRC_SERVER_REC *server,
if (g_strcasecmp(event, "event ping") == 0 ||
(g_strcasecmp(event, "event privmsg") == 0 &&
- strstr(args, " :\001") != NULL) ||
+ strstr(args, " :\001") != NULL &&
+ strstr(args, " :\001ACTION") == NULL) ||
(g_strcasecmp(event, "event notice") == 0 &&
strstr(args, " :\001IRSSILAG") != NULL)) {
/* We want to answer ourself to PINGs and CTCPs,