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:
commit
92a5053638
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue