diff options
Diffstat (limited to 'src/modules/m_clones.cpp')
-rw-r--r-- | src/modules/m_clones.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp index e9f757249..0c1cdff2f 100644 --- a/src/modules/m_clones.cpp +++ b/src/modules/m_clones.cpp @@ -44,7 +44,8 @@ class CommandClones : public Command user->WriteServ(clonesstr + " START"); /* hostname or other */ - for (clonemap::iterator x = ServerInstance->global_clones.begin(); x != ServerInstance->global_clones.end(); x++) + // XXX I really don't like marking global_clones public for this. at all. -- w00t + for (clonemap::iterator x = ServerInstance->Users->global_clones.begin(); x != ServerInstance->Users->global_clones.end(); x++) { if (x->second >= limit) user->WriteServ(clonesstr + " "+ ConvToStr(x->second) + " " + assign(x->first)); |