summaryrefslogtreecommitdiff
path: root/src/channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.cpp')
-rw-r--r--src/channel.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/channel.cpp b/src/channel.cpp
index 2bebcf51..969386f1 100644
--- a/src/channel.cpp
+++ b/src/channel.cpp
@@ -21,7 +21,6 @@
* $Id$
*/
-#include <algorithm>
#include "channel.h"
@@ -34,20 +33,3 @@ Channel::Channel(short id,
{
}
-
-void Channel::addUser(const std::string &user)
-{
- // Check if the user already exists in the channel
- ChannelUsers::const_iterator i = mUserList.begin(),
- i_end = mUserList.end();
- if (std::find(i, i_end, user) != i_end) return;
- mUserList.push_back(user);
-}
-
-void Channel::removeUser(const std::string &user)
-{
- ChannelUsers::iterator i_end = mUserList.end(),
- i = std::find(mUserList.begin(), i_end, user);
- if (i == i_end) return;
- mUserList.erase(i);
-}