BAN: xlines do not have oper reasons, their "reason" is already oper only.
This commit is contained in:
parent
3cbbfb2556
commit
f89191ace9
1 changed files with 1 additions and 2 deletions
|
@ -157,8 +157,7 @@ ms_ban(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
||||||
aconf->info.oper = operhash_add(oper);
|
aconf->info.oper = operhash_add(oper);
|
||||||
aconf->created = created;
|
aconf->created = created;
|
||||||
aconf->hold = hold;
|
aconf->hold = hold;
|
||||||
p = strchr(parv[parc - 1], '|');
|
if (ntype != CONF_KILL || (p = strchr(parv[parc - 1], '|')) == NULL)
|
||||||
if (p == NULL)
|
|
||||||
aconf->passwd = rb_strdup(parv[parc - 1]);
|
aconf->passwd = rb_strdup(parv[parc - 1]);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue