diff options
Diffstat (limited to 'src/modules/m_hostcycle.cpp')
-rw-r--r-- | src/modules/m_hostcycle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_hostcycle.cpp b/src/modules/m_hostcycle.cpp index d3646e899..87f05a9ee 100644 --- a/src/modules/m_hostcycle.cpp +++ b/src/modules/m_hostcycle.cpp @@ -72,8 +72,8 @@ class ModuleHostCycle : public Module modeline.append(" ").append(user->nick); } - const UserMembList* ulist = c->GetUsers(); - for (UserMembList::const_iterator j = ulist->begin(); j != ulist->end(); ++j) + const UserMembList& ulist = c->GetUsers(); + for (UserMembList::const_iterator j = ulist.begin(); j != ulist.end(); ++j) { LocalUser* u = IS_LOCAL(j->first); if (u == NULL || u == user) |