1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2009 InspIRCd Development Team
6 * See: http://wiki.inspircd.org/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(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode);
25 ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter);
26 bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, Channel* channel);
27 void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
28 void RemoveMode(User* user, irc::modestacker* stack = NULL);