From 5b6a601b4bae6303a5c87d4d201e9c2ecbfebf2b Mon Sep 17 00:00:00 2001 From: Remco Rijnders Date: Wed, 15 Feb 2012 20:35:35 +0100 Subject: [PATCH] Remove unneeded sanity check (according to the compiler) --- src/s_conf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.30.2