Treat G-line-related times as network times, rather than local times.
[ircu2.10.12-pk.git] / ircd / m_wallusers.c
index e23eb73a496b8e8a0a24aed268d06794cb7fe6e3..dc53baab7284b89ce204787886042502f02ff49b 100644 (file)
  *            note:   it is guaranteed that parv[0]..parv[parc-1] are all
  *                    non-NULL pointers.
  */
-#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 "config.h"
+
 #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 <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
 
 
 /*
@@ -112,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;
 }
@@ -129,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;
 }