summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irc/irc-recv.c2
-rw-r--r--weechat/src/irc/irc-recv.c2
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] == ' ')