summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 1c8e9e856..4010f819a 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -137,11 +137,6 @@ int Channel::SetTopic(User *u, std::string &ntopic, bool forceset)
return CMD_SUCCESS;
}
-long Channel::GetUserCounter()
-{
- return userlist.size();
-}
-
Membership* Channel::AddUser(User* user)
{
Membership*& memb = userlist[user];
@@ -182,11 +177,6 @@ void Channel::DelUser(User* user)
}
}
-bool Channel::HasUser(User* user)
-{
- return (userlist.find(user) != userlist.end());
-}
-
Membership* Channel::GetUser(User* user)
{
UserMembIter i = userlist.find(user);
@@ -195,11 +185,6 @@ Membership* Channel::GetUser(User* user)
return i->second;
}
-const UserMembList* Channel::GetUsers()
-{
- return &userlist;
-}
-
void Channel::SetDefaultModes()
{
ServerInstance->Logs->Log("CHANNELS", LOG_DEBUG, "SetDefaultModes %s",