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:
parent
ea111ea544
commit
959f5f368b
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