Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git] / ircd / m_wallusers.c
index b453e8870788d4b042c180e73dc928e2205d5189..e5e0cdb61762d9846fb385a51e31ae414e4c16a1 100644 (file)
@@ -106,7 +106,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;
 }
@@ -123,7 +123,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;
 }