summaryrefslogtreecommitdiff
path: root/include/modes
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-07 17:37:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-07 17:37:20 +0000
commit8f9d0a68cd77b6a78eccfa7df9c1045d453ce581 (patch)
tree136a66ca6fad66f11b73ebc790d3d8826e1561a3 /include/modes
parente82854fb09160c1806b992fe34f022a69437882e (diff)
Mode +b stuff, probably wont work yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4133 e03df62e-2008-0410-955e-edbf42e46eb7
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);
+};
+