summaryrefslogtreecommitdiff
path: root/include/modes/cmode_i.h
blob: 7a8dd2ad75ced1e8dcd54d5565209978bbe377a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "mode.h"

class InspIRCd;

/** Channel mode +i
 */
class ModeChannelInviteOnly : public ModeHandler
{
 public:
	ModeChannelInviteOnly(InspIRCd* Instance);
	ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
};