blob: 64d30cb733344eb54647016d26ca7b4525b76834 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "mode.h"
class InspIRCd;
/** Channel mode +k
*/
class ModeChannelKey : public ModeHandler
{
public:
ModeChannelKey(InspIRCd* Instance);
ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding);
ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter);
bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel);
void RemoveMode(chanrec* channel);
void RemoveMode(userrec* user);
};
|