/* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
* InspIRCd: (C) 2002-2007 InspIRCd Development Team
* See: http://www.inspircd.org/wiki/index.php/Credits
*
* This program is free but copyrighted software; see
* the file COPYING for details.
*
* ---------------------------------------------------
*/#include"mode.h"#include"channels.h"classInspIRCd;/** Channel mode +b
*/classModeChannelBan:publicModeHandler{private:BanItemb;public:ModeChannelBan(InspIRCd*Instance);ModeActionOnModeChange(userrec*source,userrec*dest,chanrec*channel,std::string¶meter,booladding);std::string&AddBan(userrec*user,std::string&dest,chanrec*chan,intstatus);std::string&DelBan(userrec*user,std::string&dest,chanrec*chan,intstatus);voidDisplayList(userrec*user,chanrec*channel);ModePairModeSet(userrec*source,userrec*dest,chanrec*channel,conststd::string¶meter);voidRemoveMode(userrec*user);voidRemoveMode(chanrec*channel);};