From af1a78b7c6cd043cfe0b94739a12711b2771820f Mon Sep 17 00:00:00 2001 From: JD Horelick Date: Sun, 2 Jan 2011 19:26:09 -0500 Subject: [PATCH] extensions/m_roleplay: Channelmode +E is no longer used to allow roleplay commands. It is now +N. Fix the check for it. --- extensions/m_roleplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/m_roleplay.c b/extensions/m_roleplay.c index 55865b2..97a72ab 100644 --- a/extensions/m_roleplay.c +++ b/extensions/m_roleplay.c @@ -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;