diff --git a/extensions/extb_extgecos.c b/extensions/extb_extgecos.c index 7dbf73f1..7d6f9227 100644 --- a/extensions/extb_extgecos.c +++ b/extensions/extb_extgecos.c @@ -35,7 +35,6 @@ static int eb_extended(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type) { char buf[BUFSIZE]; - int ret; (void)chptr; @@ -45,15 +44,5 @@ static int eb_extended(const char *data, struct Client *client_p, snprintf(buf, BUFSIZE, "%s!%s@%s#%s", client_p->name, client_p->username, client_p->host, client_p->info); - ret = match(data, buf) ? EXTBAN_MATCH : EXTBAN_NOMATCH; - - if (ret == EXTBAN_NOMATCH && IsDynSpoof(client_p)) - { - snprintf(buf, BUFSIZE, "%s!%s@%s#%s", - client_p->name, client_p->username, client_p->orighost, client_p->info); - - ret = match(data, buf) ? EXTBAN_MATCH : EXTBAN_NOMATCH; - } - - return ret; + return match(data, buf) ? EXTBAN_MATCH : EXTBAN_NOMATCH; }