summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-03-12 01:34:10 +0100
committerlouiz’ <louiz@louiz.org>2018-03-12 01:34:10 +0100
commit06438fe8ecf5eea62456e6da41c13bad916664fc (patch)
tree8902442e1a6a11e7a5b416ddf39e1d4d5ad80af1 /src/irc
parent8fa050abb29b54b4a8e0286b0be859400fb963b9 (diff)
downloadbiboumi-06438fe8ecf5eea62456e6da41c13bad916664fc.tar.gz
biboumi-06438fe8ecf5eea62456e6da41c13bad916664fc.tar.bz2
biboumi-06438fe8ecf5eea62456e6da41c13bad916664fc.tar.xz
biboumi-06438fe8ecf5eea62456e6da41c13bad916664fc.zip
Remove an unused function
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/irc_channel.cpp6
-rw-r--r--src/irc/irc_channel.hpp1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/irc/irc_channel.cpp b/src/irc/irc_channel.cpp
index 58f8d5c..2dd20fe 100644
--- a/src/irc/irc_channel.cpp
+++ b/src/irc/irc_channel.cpp
@@ -53,11 +53,5 @@ std::unique_ptr<IrcUser> IrcChannel::remove_user(const IrcUser* user)
this->joined = false;
}
}
-}
-
-void IrcChannel::remove_all_users()
-{
- this->users.clear();
- this->self = nullptr;
return result;
}
diff --git a/src/irc/irc_channel.hpp b/src/irc/irc_channel.hpp
index ee89209..7000ada 100644
--- a/src/irc/irc_channel.hpp
+++ b/src/irc/irc_channel.hpp
@@ -32,7 +32,6 @@ public:
IrcUser* add_user(const std::string& name,
const std::map<char, char>& prefix_to_mode);
IrcUser* find_user(const std::string& name) const;
- void remove_all_users();
std::unique_ptr<IrcUser> remove_user(const IrcUser* user);
const std::vector<std::unique_ptr<IrcUser>>& get_users() const
{ return this->users; }