0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00

Merge pull request #163 from awilfox/master

core/m_error: Be consistent in strncmp usage
This commit is contained in:
Elizabeth Myers 2016-03-09 01:30:52 -06:00
commit 92a5053638

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;