diff options
author | Timo Sirainen <cras@irssi.org> | 2002-06-13 21:47:40 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-06-13 21:47:40 +0000 |
commit | cfa4966dc3d218a2ee36077f75408494799b199e (patch) | |
tree | 7add80b71c1a25443306dca2a3f22fedee5d6355 /src | |
parent | 80b8d0628aa39494ee79a533be6965074f00384b (diff) | |
download | irssi-cfa4966dc3d218a2ee36077f75408494799b199e.zip |
Wallop actions fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2852 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/irc/fe-events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c index 96108ae4..a1e4008a 100644 --- a/src/fe-common/irc/fe-events.c +++ b/src/fe-common/irc/fe-events.c @@ -272,14 +272,14 @@ static void event_wallops(IRC_SERVER_REC *server, const char *data, const char * if (ignore_check(SERVER(server), nick, addr, NULL, data, MSGLEVEL_WALLOPS)) return; - if (g_strncasecmp(data, "\001ACTION", 7) != 0) + if (g_strncasecmp(data, "\001ACTION ", 8) != 0) printformat(server, NULL, MSGLEVEL_WALLOPS, IRCTXT_WALLOPS, nick, data); else { /* Action in WALLOP */ int len; char *tmp; - tmp = g_strdup(data); + tmp = g_strdup(data+8); len = strlen(tmp); if (tmp[len-1] == 1) tmp[len-1] = '\0'; printformat(server, NULL, MSGLEVEL_WALLOPS, IRCTXT_ACTION_WALLOPS, nick, tmp); |