diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 17:37:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 17:37:20 +0000 |
commit | 8f9d0a68cd77b6a78eccfa7df9c1045d453ce581 (patch) | |
tree | 136a66ca6fad66f11b73ebc790d3d8826e1561a3 /include | |
parent | e82854fb09160c1806b992fe34f022a69437882e (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')
-rw-r--r-- | include/mode.h | 2 | ||||
-rw-r--r-- | include/modes/cmode_b.h | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/include/mode.h b/include/mode.h index f515b1d16..1c3fcfe77 100644 --- a/include/mode.h +++ b/include/mode.h @@ -113,8 +113,6 @@ class ModeParser char* TakeOps(userrec *user,char *dest,chanrec *chan,int status); char* TakeHops(userrec *user,char *dest,chanrec *chan,int status); char* TakeVoice(userrec *user,char *dest,chanrec *chan,int status); - char* AddBan(userrec *user,char *dest,chanrec *chan,int status); - char* TakeBan(userrec *user,char *dest,chanrec *chan,int status); userrec* SanityChecks(userrec *user,char *dest,chanrec *chan,int status); char* Grant(userrec *d,chanrec *chan,int MASK); char* Revoke(userrec *d,chanrec *chan,int MASK); 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 ¶meter, 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); +}; + |