diff options
Diffstat (limited to 'src/irc/irc-send.c')
-rw-r--r-- | src/irc/irc-send.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/irc/irc-send.c b/src/irc/irc-send.c index 22a90b2f3..266ea67d0 100644 --- a/src/irc/irc-send.c +++ b/src/irc/irc-send.c @@ -580,7 +580,10 @@ irc_cmd_send_ison (t_irc_server *server, char *arguments) int irc_cmd_send_join (t_irc_server *server, char *arguments) { - server_sendf (server, "JOIN %s\r\n", arguments); + if (string_is_channel (arguments)) + server_sendf (server, "JOIN %s\r\n", arguments); + else + server_sendf (server, "JOIN #%s\r\n", arguments); return 0; } |