projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git]
/
ircd
/
m_wallusers.c
diff --git
a/ircd/m_wallusers.c
b/ircd/m_wallusers.c
index b453e8870788d4b042c180e73dc928e2205d5189..dc53baab7284b89ce204787886042502f02ff49b 100644
(file)
--- a/
ircd/m_wallusers.c
+++ b/
ircd/m_wallusers.c
@@
-82,13
+82,14
@@
#include "config.h"
#include "client.h"
#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 "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 */
/*
/*
@@
-106,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");
if (EmptyString(message))
return need_more_params(sptr, "WALLUSERS");
- send
cmdto_flag_butone(sptr, CMD_WALLUSERS, cptr, FLAGS_WALLOP, ":
%s",
+ send
wallto_group_butone(sptr, WALL_WALLUSERS, cptr, "
%s",
message);
return 0;
}
message);
return 0;
}
@@
-123,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");
if (EmptyString(message))
return need_more_params(sptr, "WALLUSERS");
- send
cmdto_flag_butone(sptr, CMD_WALLUSERS, 0, FLAGS_WALLOP, ":
%s", message);
+ send
wallto_group_butone(sptr, WALL_WALLUSERS, 0, "
%s", message);
return 0;
}
return 0;
}