summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 6d6c15f13..4e46c3b30 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -201,20 +201,15 @@ std::string chanrec::GetModeParameter(char mode)
void chanrec::IncUserCounter()
{
- this->users++;
- log(DEBUG,"Incremented channel user count for %s to %lu",name,(unsigned long)users);
}
void chanrec::DecUserCounter()
{
- if (this->users > 0)
- this->users--;
- log(DEBUG,"Decremented channel user count for %s to %lu",name,(unsigned long)users);
}
long chanrec::GetUserCounter()
{
- return (this->users);
+ return (this->internal_userlist.size());
}
void chanrec::AddUser(char* castuser)