summaryrefslogtreecommitdiff
path: root/src/coremods/core_user
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-14 16:24:59 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-14 16:24:59 +0200
commit46c97a8db770d637cf8e11fa8b178a32c60cdada (patch)
tree4022e05800efba2dd0a31b6363eed0f0bf065671 /src/coremods/core_user
parent63601e946e77f11835cf9cbb87c55fe41e0b12bb (diff)
Rename UserChanList to User::ChanList, remove UCListIter
Diffstat (limited to 'src/coremods/core_user')
-rw-r--r--src/coremods/core_user/cmd_nick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_user/cmd_nick.cpp b/src/coremods/core_user/cmd_nick.cpp
index 1d14ca703..a62e1c207 100644
--- a/src/coremods/core_user/cmd_nick.cpp
+++ b/src/coremods/core_user/cmd_nick.cpp
@@ -72,7 +72,7 @@ CmdResult CommandNick::HandleLocal(const std::vector<std::string>& parameters, L
// one of the channels they are on
if (ServerInstance->Config->RestrictBannedUsers)
{
- for (UCListIter i = user->chans.begin(); i != user->chans.end(); ++i)
+ for (User::ChanList::iterator i = user->chans.begin(); i != user->chans.end(); ++i)
{
Channel* chan = (*i)->chan;
if (chan->GetPrefixValue(user) < VOICE_VALUE && chan->IsBanned(user))