Author: Isomer <perry@coders.net>
[ircu2.10.12-pk.git] / ircd / m_wallops.c
index 2e5ad2feaacf11e39c822bfd93edde9a81dd52eb..865fed8625b27f22c0328ba3cd8a9741cad68d29 100644 (file)
@@ -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 (!IsServer(sptr) && MyConnect(sptr) && !IsAnOper(sptr))
+  if (!IsAnOper(sptr))
   {
     sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]); /* XXX DEAD */
     return 0;