summaryrefslogtreecommitdiff
path: root/include/modes/cmode_k.h
blob: 94a317df097c42d4ee65334d84281ebf12502c8c (plain)
1
2
3
4
5
6
7
8
9
10
#include "mode.h"

class ModeChannelKey : public ModeHandler
{
 public:
	ModeChannelKey();
	ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
	std::pair<bool,std::string> ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string &parameter);
	bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel);
};