Accountname should not be prefixed with a colon to allow future expansion.
This commit is contained in:
parent
92052a5c24
commit
261e2f9399
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ me_su(struct Client *client_p, struct Client *source_p,
|
||||||
else
|
else
|
||||||
rb_strlcpy(target_p->user->suser, parv[2], sizeof(target_p->user->suser));
|
rb_strlcpy(target_p->user->suser, parv[2], sizeof(target_p->user->suser));
|
||||||
|
|
||||||
sendto_common_channels_local_butone(target_p, CLICAP_ACCOUNT_NOTIFY, ":%s!%s@%s ACCOUNT :%s",
|
sendto_common_channels_local_butone(target_p, CLICAP_ACCOUNT_NOTIFY, ":%s!%s@%s ACCOUNT %s",
|
||||||
target_p->name, target_p->username, target_p->host,
|
target_p->name, target_p->username, target_p->host,
|
||||||
EmptyString(target_p->user->suser) ? "*" : target_p->user->suser);
|
EmptyString(target_p->user->suser) ? "*" : target_p->user->suser);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue