core/m_error: Be consistent in strncmp usage

This commit is contained in:
Andrew Wilcox 2016-03-09 01:08:23 -06:00
parent ea111ea544
commit 959f5f368b

View file

@ -68,7 +68,7 @@ is_safe_error(const char *message)
if (!strncmp(message, "Terminated by ", 14))
return 1;
if (!ircncmp(message, "Closing Link", 12))
if (!strncmp(message, "Closing Link", 12))
return 0;
if (strchr(message, '['))
return 0;