diff options
author | Timo Sirainen <cras@irssi.org> | 2000-12-01 01:31:55 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-12-01 01:31:55 +0000 |
commit | f632c4c9240b1c0db00cfeb6d6105c55c6a808e8 (patch) | |
tree | fde9d476743a7f6529ec818f75e5f02a68278db8 /src | |
parent | bb53065babd413b05d6f3afa97e1537cd9aa8069 (diff) | |
download | irssi-f632c4c9240b1c0db00cfeb6d6105c55c6a808e8.zip |
Remove trailing spaces from mode changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@907 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/irc/fe-events.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c index b978a501..140d5a2f 100644 --- a/src/fe-common/irc/fe-events.c +++ b/src/fe-common/irc/fe-events.c @@ -250,7 +250,9 @@ static void event_mode(const char *data, IRC_SERVER_REC *server, params = event_get_params(data, 2 | PARAM_FLAG_GETREST, &channel, &mode); - signal_emit("message mode", 5, server, channel, nick, addr, mode); + + signal_emit("message mode", 5, server, channel, nick, addr, + g_strchomp(mode)); g_free(params); } |