diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-11 10:13:38 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-11 10:13:38 +0000 |
commit | a8fc49bd797aa0d42be421642db4c8b6e8b86825 (patch) | |
tree | 547f04ebad902df8aa721d73c2e7fafd2f017fa8 | |
parent | d617f1d15426544d48bf3023e19442b76cbc91cd (diff) | |
download | weechat-a8fc49bd797aa0d42be421642db4c8b6e8b86825.zip |
Fixed IRC server message display, case insensitive test for nick in message
-rw-r--r-- | src/irc/irc-recv.c | 2 | ||||
-rw-r--r-- | weechat/src/irc/irc-recv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index eaf4ab3c6..350d7ef92 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -2209,7 +2209,7 @@ irc_cmd_recv_server_msg (t_irc_server *server, char *host, char *nick, char *arg arguments++; /* skip nickname if at beginning of server message */ - if (strncmp (server->nick, arguments, strlen (server->nick)) == 0) + if (strncasecmp (server->nick, arguments, strlen (server->nick)) == 0) { arguments += strlen (server->nick) + 1; while (arguments[0] == ' ') diff --git a/weechat/src/irc/irc-recv.c b/weechat/src/irc/irc-recv.c index eaf4ab3c6..350d7ef92 100644 --- a/weechat/src/irc/irc-recv.c +++ b/weechat/src/irc/irc-recv.c @@ -2209,7 +2209,7 @@ irc_cmd_recv_server_msg (t_irc_server *server, char *host, char *nick, char *arg arguments++; /* skip nickname if at beginning of server message */ - if (strncmp (server->nick, arguments, strlen (server->nick)) == 0) + if (strncasecmp (server->nick, arguments, strlen (server->nick)) == 0) { arguments += strlen (server->nick) + 1; while (arguments[0] == ' ') |