]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
extensions/m_roleplay: Channelmode +E is no longer used to allow roleplay commands...
authorJD Horelick <redacted>
Mon, 3 Jan 2011 00:26:09 +0000 (19:26 -0500)
committerJD Horelick <redacted>
Mon, 3 Jan 2011 00:26:09 +0000 (19:26 -0500)
extensions/m_roleplay.c

index 55865b260e61cf394b30e1f52572dfc015455422..97a72ab0bf07cf3db745bc7a280812800fbf71be 100644 (file)
@@ -152,7 +152,7 @@ m_displaymsg(struct Client *source_p, const char *channel, int underline, int ac
                return 0;
        }
 
-       if(!(chptr->mode.mode & chmode_flags['E']))
+       if(!(chptr->mode.mode & chmode_flags['N']))
        {
                sendto_one_numeric(source_p, 573, "%s :Roleplay commands are not enabled on this channel.", chptr->chname);
                return 0;