1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2008 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 * ---------------------------------------------------
21 class ModeChannelBan : public ModeHandler
26 ModeChannelBan(InspIRCd* Instance);
27 ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode);
28 std::string& AddBan(User *user,std::string& dest,Channel *chan,int status, bool servermode);
29 std::string& DelBan(User *user,std::string& dest,Channel *chan,int status);
30 void DisplayList(User* user, Channel* channel);
31 void DisplayEmptyList(User* user, Channel* channel);
32 ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter);
33 void RemoveMode(User* user, irc::modestacker* stack = NULL);
34 void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);