summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-protocol.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index f4df24a1e..8832ec8f4 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -2914,9 +2914,6 @@ irc_protocol_cmd_324 (struct t_irc_server *server, const char *command,
IRC_PROTOCOL_MIN_ARGS(4);
- /* make C compiler happy */
- (void) argv_eol;
-
ptr_channel = irc_channel_search (server, argv[3]);
if (ptr_channel)
{
@@ -2924,7 +2921,7 @@ irc_protocol_cmd_324 (struct t_irc_server *server, const char *command,
{
if (ptr_channel->modes)
free (ptr_channel->modes);
- ptr_channel->modes = strdup (argv[4]);
+ ptr_channel->modes = strdup (argv_eol[4]);
irc_mode_channel_set (server, ptr_channel,
ptr_channel->modes);
}