diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-25 16:49:25 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-25 16:49:25 +0000 |
commit | 34e220df56c4e25343941c9cc80550f3aea0c724 (patch) | |
tree | 8ae6ac4b84d98090d74d7fae8027b816323ef7cf | |
parent | 537e1781a61ed1a820e9921ceee49df2d715e14c (diff) | |
download | weechat-34e220df56c4e25343941c9cc80550f3aea0c724.zip |
Fixed bug with PART command parsing (":" not skipped, problem with some IRC servers)
-rw-r--r-- | src/irc/irc-recv.c | 3 | ||||
-rw-r--r-- | weechat/src/irc/irc-recv.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index 2307c5b5b..011dbcbee 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -1094,6 +1094,9 @@ irc_recv_cmd_part (t_irc_server *server, char *host, char *nick, char *arguments return -1; } + if (arguments[0] == ':') + arguments++; + pos_args = strchr (arguments, ' '); if (pos_args) { diff --git a/weechat/src/irc/irc-recv.c b/weechat/src/irc/irc-recv.c index 2307c5b5b..011dbcbee 100644 --- a/weechat/src/irc/irc-recv.c +++ b/weechat/src/irc/irc-recv.c @@ -1094,6 +1094,9 @@ irc_recv_cmd_part (t_irc_server *server, char *host, char *nick, char *arguments return -1; } + if (arguments[0] == ':') + arguments++; + pos_args = strchr (arguments, ' '); if (pos_args) { |