Add capability parameter to sendto_common_channels_local() and sendto_common_channels_local_butone().

This commit is contained in:
William Pitcock 2010-12-15 22:55:05 -06:00
parent 0b2b2f7753
commit 7a948bdaa7
6 changed files with 16 additions and 12 deletions

View file

@ -728,7 +728,7 @@ change_local_nick(struct Client *client_p, struct Client *source_p,
source_p->name, nick, source_p->username, source_p->host);
/* send the nick change to the users channels */
sendto_common_channels_local(source_p, ":%s!%s@%s NICK :%s",
sendto_common_channels_local(source_p, NOCAPS, ":%s!%s@%s NICK :%s",
source_p->name, source_p->username, source_p->host, nick);
/* send the nick change to servers.. */
@ -789,7 +789,7 @@ change_remote_nick(struct Client *client_p, struct Client *source_p,
monitor_signoff(source_p);
}
sendto_common_channels_local(source_p, ":%s!%s@%s NICK :%s",
sendto_common_channels_local(source_p, NOCAPS, ":%s!%s@%s NICK :%s",
source_p->name, source_p->username, source_p->host, nick);
if(source_p->user)