summaryrefslogtreecommitdiff
path: root/src/coremods
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-14 16:19:34 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-14 16:19:34 +0200
commit63601e946e77f11835cf9cbb87c55fe41e0b12bb (patch)
treea4bd98d877d85b45697389af5ace84a301be8399 /src/coremods
parentfb8cb2114483689c5a52f951e301c31bdd2a60a2 (diff)
Remove typedef UserMembIter, use Channel::MemberMap::iterator instead
Remove the now unused UserMembList typedef too
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_channel/cmd_kick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_channel/cmd_kick.cpp b/src/coremods/core_channel/cmd_kick.cpp
index 051cc2678..e2fdd7877 100644
--- a/src/coremods/core_channel/cmd_kick.cpp
+++ b/src/coremods/core_channel/cmd_kick.cpp
@@ -65,7 +65,7 @@ CmdResult CommandKick::Handle (const std::vector<std::string>& parameters, User
}
}
- const UserMembIter victimiter = c->userlist.find(u);
+ const Channel::MemberMap::iterator victimiter = c->userlist.find(u);
if (victimiter == c->userlist.end())
{
user->WriteNumeric(ERR_USERNOTINCHANNEL, "%s %s :They are not on that channel", u->nick.c_str(), c->name.c_str());