summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 18:12:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 18:12:45 +0000
commitf2c5ec55f306657b2eb249ae483270bc466c2cb7 (patch)
tree402c7aa6b7880424e98197efd09fbe559270bcba /src/modules.cpp
parent632ca0fd6a2cfa3d06f87b77ccffcc2e5a835572 (diff)
Added Server::CountUsers function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@423 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 46b24de7b..2f7f1fd16 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -310,6 +310,11 @@ bool Server::AddExtendedMode(char modechar, int type, bool requires_oper, int pa
return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
}
+int Server::CountUsers(chanrec* c)
+{
+ return usercount(c);
+}
+
ConfigReader::ConfigReader()
{