From 959f5f368b27818c674a45ffb4a5f9cee82af6f1 Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Wed, 9 Mar 2016 01:08:23 -0600 Subject: [PATCH] core/m_error: Be consistent in strncmp usage --- modules/core/m_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/m_error.c b/modules/core/m_error.c index 14c0813f..dc933a24 100644 --- a/modules/core/m_error.c +++ b/modules/core/m_error.c @@ -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;