Fixed channel search for display of IRC error messages (case insensitive search for nick)

This commit is contained in:
Sebastien Helleu 2007-05-11 08:17:57 +00:00
parent 812ab4129f
commit 82b3f86c43
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ irc_cmd_recv_error (t_irc_server *server, char *host, char *nick, char *argument
pos = strchr (arguments, ' ');
if (pos)
pos[0] = '\0';
if (strcmp (arguments, server->nick) != 0)
if (strcasecmp (arguments, server->nick) != 0)
{
if (first)
{

View File

@ -361,7 +361,7 @@ irc_cmd_recv_error (t_irc_server *server, char *host, char *nick, char *argument
pos = strchr (arguments, ' ');
if (pos)
pos[0] = '\0';
if (strcmp (arguments, server->nick) != 0)
if (strcasecmp (arguments, server->nick) != 0)
{
if (first)
{