Commit 06438fe8 authored by louiz’'s avatar louiz’

Remove an unused function

parent 8fa050ab
......@@ -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;
}
......@@ -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; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment