diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-08 15:05:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-08 15:05:33 +0000 |
commit | 2f32d647909e3b07ef1c35d66b7b5ee876435f1b (patch) | |
tree | ea1a8c3e48702f548126ff8963d5ff577d1a97f8 /include/modes/cmode_o.h | |
parent | ed351d92cfb70de7c3214195cac286a9607e1606 (diff) |
Add cmode +o (op/deop) and in the process change a lot of char* to const char* to avoid unneccessary casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4165 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modes/cmode_o.h')
-rw-r--r-- | include/modes/cmode_o.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/modes/cmode_o.h b/include/modes/cmode_o.h new file mode 100644 index 000000000..cf223b97f --- /dev/null +++ b/include/modes/cmode_o.h @@ -0,0 +1,13 @@ +#include "mode.h" +#include "channels.h" + +class ModeChannelOp : public ModeHandler +{ + private: + public: + ModeChannelOp(); + ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); + std::string AddOp(userrec *user,const char *dest,chanrec *chan,int status); + std::string DelOp(userrec *user,const char *dest,chanrec *chan,int status); +}; + |