summaryrefslogtreecommitdiff
path: root/include/modes/cmode_b.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes/cmode_b.h')
-rw-r--r--include/modes/cmode_b.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modes/cmode_b.h b/include/modes/cmode_b.h
index 34b90c9b9..e17a6909a 100644
--- a/include/modes/cmode_b.h
+++ b/include/modes/cmode_b.h
@@ -1,12 +1,14 @@
#include "mode.h"
#include "channels.h"
+class InspIRCd;
+
class ModeChannelBan : public ModeHandler
{
private:
BanItem b;
public:
- ModeChannelBan();
+ ModeChannelBan(InspIRCd* Instance);
ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
std::string& AddBan(userrec *user,std::string& dest,chanrec *chan,int status);
std::string& DelBan(userrec *user,std::string& dest,chanrec *chan,int status);