summaryrefslogtreecommitdiff
path: root/include/modes
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes')
-rw-r--r--include/modes/cmode_b.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/modes/cmode_b.h b/include/modes/cmode_b.h
new file mode 100644
index 000000000..4c41e3250
--- /dev/null
+++ b/include/modes/cmode_b.h
@@ -0,0 +1,11 @@
+#include "mode.h"
+
+class ModeChannelBan : public ModeHandler
+{
+ public:
+ ModeChannelBan();
+ 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);
+};
+