]> jfr.im git - solanum.git/blobdiff - modules/core/m_error.c
Merge pull request #335 from edk0/post-registration-delay
[solanum.git] / modules / core / m_error.c
index 9d25b3ee79868dca9719b106ef3272b7dadc587e..4ef168811a15dba3c105ee2de97d122eaf3aec09 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "stdinc.h"
 #include "client.h"
-#include "common.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "send.h"
@@ -68,7 +67,7 @@ is_safe_error(const char *message)
        if (!strncmp(message, "Terminated by ", 14))
                return true;
 
-       if (!strncmp(message, "Closing Link", 12))
+       if (!rb_strncasecmp(message, "Closing Link", 12))
                return false;
        if (strchr(message, '['))
                return false;