extensions/m_roleplay: Channelmode +E is no longer used to allow roleplay commands. It is now +N. Fix the check for it.

This commit is contained in:
JD Horelick 2011-01-02 19:26:09 -05:00
parent 002ca0f963
commit af1a78b7c6
1 changed files with 1 additions and 1 deletions

View 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;