X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/6c70c576cc4f322a742898ad3a6d8154c68b5229..1ebe6ffc92cae7ed80ac5b8dd6edfd330229ae43:/modules/m_set.c diff --git a/modules/m_set.c b/modules/m_set.c index 6166c0f..342e1de 100644 --- a/modules/m_set.c +++ b/modules/m_set.c @@ -21,7 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: m_set.c 3394 2007-04-05 00:33:52Z jilles $ + * $Id: m_set.c 3406 2007-04-13 19:06:53Z jilles $ */ /* rewritten by jdc */ @@ -52,7 +52,7 @@ struct Message set_msgtab = { }; mapi_clist_av1 set_clist[] = { &set_msgtab, NULL }; -DECLARE_MODULE_AV1(set, NULL, NULL, set_clist, NULL, NULL, "$Revision: 3394 $"); +DECLARE_MODULE_AV1(set, NULL, NULL, set_clist, NULL, NULL, "$Revision: 3406 $"); /* Structure used for the SET table itself */ struct SetStruct @@ -248,9 +248,9 @@ quote_max(struct Client *source_p, int newval) { if(newval > ServerInfo.max_clients) { - sendto_one(source_p, - ":%s NOTICE %s :You cannot set MAXCLIENTS to > max_clients (%d)", - me.name, source_p->name, ServerInfo.max_clients); + sendto_one_notice(source_p, + ":You cannot set MAXCLIENTS to > max_clients (%d)", + ServerInfo.max_clients); return; }