X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Firc-write.c;h=a3700c8351e789f74d5229e16fbfd5c2329c1f21;hb=HEAD;hp=9c0c39871500648ec95c18c6b8af05bd49a00fe0;hpb=b130b35f48d19450240748425e12d21f2c38350f;p=ngircd-alex.git diff --git a/src/ngircd/irc-write.c b/src/ngircd/irc-write.c index 9c0c3987..a3700c83 100644 --- a/src/ngircd/irc-write.c +++ b/src/ngircd/irc-write.c @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors. + * Copyright (c)2001-2018 Alexander Barton (alex@barton.de) and Contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -380,11 +380,10 @@ va_dcl * Send a message to all the servers in the network using a specific prefix * and matching a "client flag" using a callback function. * - * @param Client The sending client, excluded while forwarding the message. + * @param ExceptOf The sending client, excluded while forwarding the message. * @param Prefix The prefix to use. * @param Flag Client flag that must be set on the target. * @param callback Callback function. - * @param Format Format string. */ GLOBAL void IRC_WriteStrServersPrefixFlag_CB(CLIENT *ExceptOf, CLIENT *Prefix, char Flag, @@ -407,7 +406,7 @@ IRC_WriteStrServersPrefixFlag_CB(CLIENT *ExceptOf, CLIENT *Prefix, char Flag, /** * Send a message to all "related" clients. * - * Related clients are the one that share one ore more channels with the client + * Related clients are the one that share one or more channels with the client * sending this message. * * The message is only sent once per remote server. @@ -521,12 +520,12 @@ va_dcl if (Client_HasMode(to, 'w')) IRC_WriteStrClientPrefix(to, From, "WALLOPS :%s", msg); - break; + break; case CLIENT_SERVER: if (to != Client) IRC_WriteStrClientPrefix(to, From, "WALLOPS :%s", msg); - break; + break; } } } /* IRC_SendWallops */