1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2007 InspIRCd Development Team
6 * See: http://www.inspircd.org/wiki/index.php/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
20 class ModeChannelKey : public ModeHandler
23 ModeChannelKey(InspIRCd* Instance);
24 ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding);
25 ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter);
26 bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel);
27 void RemoveMode(chanrec* channel);
28 void RemoveMode(userrec* user);