From 26e4582c2ebaa82b63ba1d85d52be7b69d1f468d Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 2 Sep 2006 17:40:33 +0000 Subject: Actually make +ovhk removable with DelMode (just in case somebody wants to, or we have need to in the future) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5112 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modes/cmode_b.h | 2 ++ include/modes/cmode_h.h | 2 ++ include/modes/cmode_k.h | 2 ++ include/modes/cmode_o.h | 2 ++ include/modes/cmode_v.h | 2 ++ 5 files changed, 10 insertions(+) (limited to 'include') diff --git a/include/modes/cmode_b.h b/include/modes/cmode_b.h index eea061751..f024a3b3d 100644 --- a/include/modes/cmode_b.h +++ b/include/modes/cmode_b.h @@ -16,5 +16,7 @@ class ModeChannelBan : public ModeHandler std::string& DelBan(userrec *user,std::string& dest,chanrec *chan,int status); void DisplayList(userrec* user, chanrec* channel); ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + void RemoveMode(userrec* user); + void RemoveMode(chanrec* channel); }; diff --git a/include/modes/cmode_h.h b/include/modes/cmode_h.h index 277d89625..d71896a1e 100644 --- a/include/modes/cmode_h.h +++ b/include/modes/cmode_h.h @@ -15,5 +15,7 @@ class ModeChannelHalfOp : public ModeHandler std::string DelHalfOp(userrec *user,const char *dest,chanrec *chan,int status); ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); unsigned int GetPrefixRank(); + void RemoveMode(chanrec* channel); + void RemoveMode(userrec* user); }; diff --git a/include/modes/cmode_k.h b/include/modes/cmode_k.h index 4c52e6443..64d30cb73 100644 --- a/include/modes/cmode_k.h +++ b/include/modes/cmode_k.h @@ -11,4 +11,6 @@ class ModeChannelKey : public ModeHandler ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel); + void RemoveMode(chanrec* channel); + void RemoveMode(userrec* user); }; diff --git a/include/modes/cmode_o.h b/include/modes/cmode_o.h index 3fe097ec3..5690221e0 100644 --- a/include/modes/cmode_o.h +++ b/include/modes/cmode_o.h @@ -15,5 +15,7 @@ class ModeChannelOp : public ModeHandler std::string DelOp(userrec *user,const char *dest,chanrec *chan,int status); ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); unsigned int GetPrefixRank(); + void RemoveMode(chanrec* channel); + void RemoveMode(userrec* user); }; diff --git a/include/modes/cmode_v.h b/include/modes/cmode_v.h index b7e9b800e..ef90a3781 100644 --- a/include/modes/cmode_v.h +++ b/include/modes/cmode_v.h @@ -15,5 +15,7 @@ class ModeChannelVoice : public ModeHandler std::string DelVoice(userrec *user,const char *dest,chanrec *chan,int status); ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); unsigned int GetPrefixRank(); + void RemoveMode(userrec* user); + void RemoveMode(chanrec* channel); }; -- cgit v1.2.3