From: William Pitcock Date: Thu, 16 Dec 2010 06:32:48 +0000 (-0600) Subject: Accountname should not be prefixed with a colon to allow future expansion. X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/261e2f93993b4d5e5790b1d20183e5c31523829b Accountname should not be prefixed with a colon to allow future expansion. --- diff --git a/modules/m_services.c b/modules/m_services.c index e3545d5b..1797aac8 100644 --- a/modules/m_services.c +++ b/modules/m_services.c @@ -107,7 +107,7 @@ me_su(struct Client *client_p, struct Client *source_p, else 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, EmptyString(target_p->user->suser) ? "*" : target_p->user->suser);