summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-19 17:19:01 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-19 17:19:01 +0000
commitf1cc720514bdd3af20ba5feb6598ebb03a7a286f (patch)
tree8a66dc7aa230564a40682f692044cdbe5bcd79fc
parent70345c0f442726f24040af4eefc23f390fff7c58 (diff)
- 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
-rw-r--r--src/s_gline.c4
1 files changed, 1 insertions, 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()