X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_wallusers.c;h=dc53baab7284b89ce204787886042502f02ff49b;hb=refs%2Fheads%2Fupstream;hp=cd840d73325f4b4b518d6baafbde9c5d9c9429d1;hpb=1b4e637606464f9af948a6e87879565f9fc1b726;p=ircu2.10.12-pk.git diff --git a/ircd/m_wallusers.c b/ircd/m_wallusers.c index cd840d7..dc53baa 100644 --- a/ircd/m_wallusers.c +++ b/ircd/m_wallusers.c @@ -81,22 +81,15 @@ */ #include "config.h" -#if 0 -/* - * No need to include handlers.h here the signatures must match - * and we don't need to force a rebuild of all the handlers everytime - * we add a new one to the list. --Bleep - */ -#include "handlers.h" -#endif /* 0 */ #include "client.h" +#include "ircd_log.h" #include "ircd_reply.h" #include "ircd_string.h" #include "msg.h" #include "numeric.h" #include "send.h" -#include +/* #include -- Now using assert in ircd_log.h */ /* @@ -114,7 +107,7 @@ int ms_wallusers(struct Client* cptr, struct Client* sptr, int parc, char* parv[ if (EmptyString(message)) return need_more_params(sptr, "WALLUSERS"); - sendcmdto_flag_butone(sptr, CMD_WALLUSERS, cptr, FLAGS_WALLOP, ":%s", + sendwallto_group_butone(sptr, WALL_WALLUSERS, cptr, "%s", message); return 0; } @@ -131,7 +124,7 @@ int mo_wallusers(struct Client* cptr, struct Client* sptr, int parc, char* parv[ if (EmptyString(message)) return need_more_params(sptr, "WALLUSERS"); - sendcmdto_flag_butone(sptr, CMD_WALLUSERS, 0, FLAGS_WALLOP, ":%s", message); + sendwallto_group_butone(sptr, WALL_WALLUSERS, 0, "%s", message); return 0; }