0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

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;