summaryrefslogtreecommitdiff
path: root/src/irc/irc-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/irc-send.c')
-rw-r--r--src/irc/irc-send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/irc-send.c b/src/irc/irc-send.c
index 9b0b79f5a..d91a57e90 100644
--- a/src/irc/irc-send.c
+++ b/src/irc/irc-send.c
@@ -699,9 +699,9 @@ irc_cmd_send_join (t_irc_server *server, char *arguments)
}
if (string_is_channel (arguments))
- server_sendf (server, "JOIN %s\r\n", arguments);
+ server_sendf (server, "JOIN %s\r\n", buffer);
else
- server_sendf (server, "JOIN #%s\r\n", arguments);
+ server_sendf (server, "JOIN #%s\r\n", buffer);
if (!p) break;
}