]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_opme.c
Change the DNSBL hit snomask to SNO_REJ (+r) as to not spam SNO_GENERAL
[irc/rqf/shadowircd.git] / extensions / m_opme.c
index bd74eba3eded344e9c0269acc7bff53f94061743..c60a06a6f2341e7f2ee663dadc55ff6e3ad4320f 100644 (file)
@@ -16,7 +16,6 @@
  *   along with this program; if not, write to the Free Software
  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- *   $Id: m_opme.c 3554 2007-08-10 22:31:14Z jilles $
  */
 #include "stdinc.h"
 #include "channel.h"
@@ -49,7 +48,6 @@ DECLARE_MODULE_AV1(opme, NULL, NULL, opme_clist, NULL, NULL, "$Revision: 3554 $"
 
 /*
 ** mo_opme
-**      parv[0] = sender prefix
 **      parv[1] = channel
 */
 static int
@@ -77,7 +75,7 @@ mo_opme(struct Client *client_p, struct Client *source_p, int parc, const char *
        {
                msptr = ptr->data;
 
-               if(is_chanop(msptr))
+               if(is_chanop(msptr) || is_admin(msptr))
                {
                        sendto_one_notice(source_p, ":%s Channel is not opless", parv[1]);
                        return 0;