From f632c4c9240b1c0db00cfeb6d6105c55c6a808e8 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 1 Dec 2000 01:31:55 +0000 Subject: Remove trailing spaces from mode changes git-svn-id: http://svn.irssi.org/repos/irssi/trunk@907 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-events.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3