summaryrefslogtreecommitdiff
path: root/src/modules/m_rmode.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-14 16:15:38 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-14 16:15:38 +0200
commitfb8cb2114483689c5a52f951e301c31bdd2a60a2 (patch)
tree5a9b7151400618402451eb054e1c7fd78e185d12 /src/modules/m_rmode.cpp
parent04ece67c3d8534f74a3d75ec77378cb57a9c044e (diff)
Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead
Diffstat (limited to 'src/modules/m_rmode.cpp')
-rw-r--r--src/modules/m_rmode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_rmode.cpp b/src/modules/m_rmode.cpp
index dde9f496e..9bb7bcdcb 100644
--- a/src/modules/m_rmode.cpp
+++ b/src/modules/m_rmode.cpp
@@ -65,7 +65,7 @@ class CommandRMode : public Command
if ((pm = mh->IsPrefixMode()))
{
// As user prefix modes don't have a GetList() method, let's iterate through the channel's users.
- for (UserMembIter it = chan->userlist.begin(); it != chan->userlist.end(); ++it)
+ for (Channel::MemberMap::const_iterator it = chan->userlist.begin(); it != chan->userlist.end(); ++it)
{
if (!InspIRCd::Match(it->first->nick, pattern))
continue;