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_wallops.c
diff --git
a/ircd/m_wallops.c
b/ircd/m_wallops.c
index 466eeabc6dc5ae6c895190b2f5f959d64421eb14..dfa10e48ef071d71b946684d760b9d81d0513dca 100644
(file)
--- a/
ircd/m_wallops.c
+++ b/
ircd/m_wallops.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 */
/*
/*
@@
-103,8
+104,7
@@
int ms_wallops(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
if (EmptyString(message))
return need_more_params(sptr, "WALLOPS");
if (EmptyString(message))
return need_more_params(sptr, "WALLOPS");
- sendcmdto_flag_butone(sptr, CMD_WALLOPS, cptr, FLAGS_WALLOP | FLAGS_OPER,
- ":%s", message);
+ sendwallto_group_butone(sptr, WALL_WALLOPS, cptr, "%s", message);
return 0;
}
return 0;
}
@@
-120,7
+120,6
@@
int mo_wallops(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
if (EmptyString(message))
return need_more_params(sptr, "WALLOPS");
if (EmptyString(message))
return need_more_params(sptr, "WALLOPS");
- sendcmdto_flag_butone(sptr, CMD_WALLOPS, 0, FLAGS_WALLOP | FLAGS_OPER,
- ":%s", message);
+ sendwallto_group_butone(sptr, WALL_WALLOPS, 0, "%s", message);
return 0;
}
return 0;
}