5 #include "modes/cmode_p.h"
7 ModeChannelPrivate::ModeChannelPrivate() : ModeHandler('p', 0, 0, false, MODETYPE_CHANNEL, false)
11 ModeAction ModeChannelPrivate::OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding)
13 if (channel->modes[CM_PRIVATE] != adding)
15 channel->modes[CM_PRIVATE] = adding;
16 return MODEACTION_ALLOW;
20 return MODEACTION_DENY;