From 7892c8a0313c50d8138942ff3b112691caf05a2f Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 13 Sep 2009 20:31:23 +0000 Subject: Replace OnAccessCheck with OnPreMode to remove a number of redundant checks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11700 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modes/cmode_o.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/modes/cmode_o.h') diff --git a/include/modes/cmode_o.h b/include/modes/cmode_o.h index f0b3154e2..60772eb5f 100644 --- a/include/modes/cmode_o.h +++ b/include/modes/cmode_o.h @@ -24,8 +24,6 @@ class ModeChannelOp : public ModeHandler public: ModeChannelOp(InspIRCd* Instance); ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding); - std::string AddOp(User *user,const char *dest,Channel *chan,int status); - std::string DelOp(User *user,const char *dest,Channel *chan,int status); ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter); unsigned int GetPrefixRank(); void RemoveMode(Channel* channel, irc::modestacker* stack = NULL); -- cgit v1.2.3