summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 16:14:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 16:14:44 +0000
commitcfb2c2fff47d99f43434de7db339c2f2237c6bad (patch)
treebadd13cd7ee9a45dbbc683d64e44a01e0677ce58 /src/helperfuncs.cpp
parent7775a195d9c417e52eaaf912ec51d62bf0fd9a54 (diff)
CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 211d1b617..51246199a 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -320,13 +320,13 @@ void InspIRCd::SendError(const char *s)
}
// this function counts all users connected, wether they are registered or NOT.
-int InspIRCd::usercnt()
+int InspIRCd::UserCount()
{
return clientlist.size();
}
// this counts only registered users, so that the percentages in /MAP don't mess up when users are sitting in an unregistered state
-int InspIRCd::registered_usercount()
+int InspIRCd::RegisteredUserCount()
{
int c = 0;
@@ -338,7 +338,7 @@ int InspIRCd::registered_usercount()
return c;
}
-int InspIRCd::usercount_invisible()
+int InspIRCd::InvisibleUserCount()
{
int c = 0;
@@ -350,7 +350,7 @@ int InspIRCd::usercount_invisible()
return c;
}
-int InspIRCd::usercount_opers()
+int InspIRCd::OperCount()
{
int c = 0;
@@ -362,7 +362,7 @@ int InspIRCd::usercount_opers()
return c;
}
-int InspIRCd::usercount_unknown()
+int InspIRCd::UnregisteredUserCount()
{
int c = 0;
@@ -376,12 +376,12 @@ int InspIRCd::usercount_unknown()
return c;
}
-long InspIRCd::chancount()
+long InspIRCd::ChannelCount()
{
return chanlist.size();
}
-long InspIRCd::local_count()
+long InspIRCd::LocalUserCount()
{
int c = 0;