Remove $x's magical powers
This commit is contained in:
parent
dfeba65563
commit
788e1a98f0
1 changed files with 1 additions and 12 deletions
|
@ -35,7 +35,6 @@ static int eb_extended(const char *data, struct Client *client_p,
|
||||||
struct Channel *chptr, long mode_type)
|
struct Channel *chptr, long mode_type)
|
||||||
{
|
{
|
||||||
char buf[BUFSIZE];
|
char buf[BUFSIZE];
|
||||||
int ret;
|
|
||||||
|
|
||||||
(void)chptr;
|
(void)chptr;
|
||||||
|
|
||||||
|
@ -45,15 +44,5 @@ static int eb_extended(const char *data, struct Client *client_p,
|
||||||
snprintf(buf, BUFSIZE, "%s!%s@%s#%s",
|
snprintf(buf, BUFSIZE, "%s!%s@%s#%s",
|
||||||
client_p->name, client_p->username, client_p->host, client_p->info);
|
client_p->name, client_p->username, client_p->host, client_p->info);
|
||||||
|
|
||||||
ret = match(data, buf) ? EXTBAN_MATCH : EXTBAN_NOMATCH;
|
return 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;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue