From: Remco Rijnders Date: Wed, 15 Feb 2012 19:35:35 +0000 (+0100) Subject: Remove unneeded sanity check (according to the compiler) X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=5b6a601b4bae6303a5c87d4d201e9c2ecbfebf2b;p=serene-ircd.git Remove unneeded sanity check (according to the compiler) --- diff --git a/src/s_conf.c b/src/s_conf.c index 0b77d94..8e6337b 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -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;