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
Author: Isomer <perry@coders.net>
[ircu2.10.12-pk.git]
/
ircd
/
m_wallops.c
diff --git
a/ircd/m_wallops.c
b/ircd/m_wallops.c
index 2e5ad2feaacf11e39c822bfd93edde9a81dd52eb..865fed8625b27f22c0328ba3cd8a9741cad68d29 100644
(file)
--- a/
ircd/m_wallops.c
+++ b/
ircd/m_wallops.c
@@
-148,7
+148,7
@@
int m_wallops(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
if (BadPtr(message))
return need_more_params(sptr, "WALLOPS");
- if (!Is
Server(sptr) && MyConnect(sptr) && !Is
AnOper(sptr))
+ if (!IsAnOper(sptr))
{
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]); /* XXX DEAD */
return 0;