From 2591562ada4cb1f866e5d1c98340fb19332b3844 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 17:52:10 +0000 Subject: Move tons more stuff into class InspIRCd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanprotect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_chanprotect.cpp') diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 3764b400e..53e725504 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -308,7 +308,7 @@ class ModuleChanProtect : public Module // the config option for it is set if (FirstInGetsFounder) { - if (Srv->CountUsers(channel) == 1) + if (channel->GetUserCounter() == 1) { // we're using Extensible::Extend to add data into user objects. // this way is best as it adds data thats accessible to other modules -- cgit v1.2.3