Remove unneeded sanity check (according to the compiler)
authorRemco Rijnders <remco@webconquest.com>
Wed, 15 Feb 2012 19:35:35 +0000 (20:35 +0100)
committerRemco Rijnders <remco@webconquest.com>
Wed, 15 Feb 2012 19:35:35 +0000 (20:35 +0100)
src/s_conf.c

index 0b77d94251685e0f97a88fc574eaf7231986ce68..8e6337b99707770abe760d281c95c084c0b9dcdc 100644 (file)
@@ -1909,9 +1909,8 @@ int m_kline (cptr, sptr, parc, parv)
        else
            host = acptr->user->host;
 
-       /* Sanity checks */
-
-       if (name == '\0' || host == '\0') {
+       /* Sanity check */
+       if (host == '\0') {
            Debug ((DEBUG_INFO, "KLINE: Bad field"));
            sendto_one (sptr, "NOTICE %s :Bad field!", parv[0]);
            return 0;