Convert received modes into roles and affiliations

This commit is contained in:
Florent Le Coz
2014-01-04 01:59:36 +01:00
parent baf03a7e20
commit e840704b58
11 changed files with 183 additions and 10 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ IrcUser* IrcChannel::get_self() const
return this->self.get();
}
IrcUser* IrcChannel::find_user(const std::string& name)
IrcUser* IrcChannel::find_user(const std::string& name) const
{
IrcUser user(name);
for (const auto& u: this->users)