summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Bouthenot <kolter@openics.org>2005-08-01 09:11:29 +0000
committerEmmanuel Bouthenot <kolter@openics.org>2005-08-01 09:11:29 +0000
commit17973de52a2680423aca347985cb2fb7fb0e9751 (patch)
tree8529b8fb15fd2051337eb6eebbc2269944c762c2
parent364667f7885a21d933adfab98e7d266420ffb839 (diff)
downloadweechat-17973de52a2680423aca347985cb2fb7fb0e9751.zip
fix a stupid error about previous commit
-rw-r--r--src/irc/irc-send.c4
-rw-r--r--weechat/src/irc/irc-send.c4
2 files changed, 4 insertions, 4 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;
}
diff --git a/weechat/src/irc/irc-send.c b/weechat/src/irc/irc-send.c
index 9b0b79f5a..d91a57e90 100644
--- a/weechat/src/irc/irc-send.c
+++ b/weechat/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;
}