From 5e9a6b9186a8cbaaf65ae7d9cd9c0c033c91b497 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 29 Dec 2006 23:34:47 +0000 Subject: Add counter system for umodes to get rid of some O(n) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6163 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modes/umode_i.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/modes/umode_i.h') diff --git a/include/modes/umode_i.h b/include/modes/umode_i.h index c8e33b492..cc7d15102 100644 --- a/include/modes/umode_i.h +++ b/include/modes/umode_i.h @@ -22,4 +22,5 @@ class ModeUserInvisible : public ModeHandler public: ModeUserInvisible(InspIRCd* Instance); ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); + unsigned int GetCount(); }; -- cgit v1.2.3