summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-18 18:33:33 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-18 18:33:33 +0000
commita14e9ff3d194001952c2ed9a296c88840908bb46 (patch)
tree06106ff443180f50121be6af61d543d3b601b71e
parentcea66039aa62a482a92dd82aedeac60e765e18ca (diff)
Show count of total num of classes, for Jason
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9740 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/users.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 1362b5ce9..82d11eb34 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1715,6 +1715,8 @@ ConnectClass* User::SetClass(const std::string &explicit_name)
}
else
{
+ ServerInstance->Logs->Log("CONNECTCLASS", DEBUG, "Total classes: %d", ServerInstance->Config->Classes.size());
+
for (ClassVector::iterator i = ServerInstance->Config->Classes.begin(); i != ServerInstance->Config->Classes.end(); i++)
{
ConnectClass* c = *i;