From f1cc720514bdd3af20ba5feb6598ebb03a7a286f Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 19 Jan 2014 17:19:01 +0000 Subject: - s_gline.c:find_is_glined(): style cleanup git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2871 82007160-df01-0410-b94d-b575c5fd34c7 --- src/s_gline.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/s_gline.c b/src/s_gline.c index f5f285e..c6f7c00 100644 --- a/src/s_gline.c +++ b/src/s_gline.c @@ -44,7 +44,6 @@ struct MaskItem * find_is_glined(const char *host, const char *user) { struct irc_ssaddr iphost, *piphost = NULL; - struct MaskItem *conf = NULL; int t = 0; int aftype = 0; @@ -61,8 +60,7 @@ find_is_glined(const char *host, const char *user) else piphost = NULL; - conf = find_conf_by_address(host, piphost, CONF_GLINE, aftype, user, NULL, 0); - return conf; + return find_conf_by_address(host, piphost, CONF_GLINE, aftype, user, NULL, 0); } /* expire_pending_glines() -- cgit