diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/irc/irc-send.c | 5 | ||||
-rw-r--r-- | weechat/ChangeLog | 5 | ||||
-rw-r--r-- | weechat/src/irc/irc-send.c | 5 |
4 files changed, 16 insertions, 4 deletions
@@ -1,9 +1,12 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-06-30 +ChangeLog - 2005-07-06 +Versoin 0.1.4 (under dev!): + * channels auto-prefixed by "#" (if no prefix found) for /join command + Version 0.1.3 (2005-07-02): * proxy support (http, socks4, socks5) with authentification (http, socks5) and ipv6 support (client to proxy) 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; } diff --git a/weechat/ChangeLog b/weechat/ChangeLog index 89b28fc1f..181c9b373 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,9 +1,12 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-06-30 +ChangeLog - 2005-07-06 +Versoin 0.1.4 (under dev!): + * channels auto-prefixed by "#" (if no prefix found) for /join command + Version 0.1.3 (2005-07-02): * proxy support (http, socks4, socks5) with authentification (http, socks5) and ipv6 support (client to proxy) diff --git a/weechat/src/irc/irc-send.c b/weechat/src/irc/irc-send.c index 22a90b2f3..266ea67d0 100644 --- a/weechat/src/irc/irc-send.c +++ b/weechat/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; } |