mirror of
https://github.com/anope/anope.git
synced 2026-07-04 11:03:14 +02:00
Fixed compile
This commit is contained in:
@@ -139,9 +139,9 @@ class CommandOSSession : public Command
|
||||
source.Reply(_("Hosts with at least \002%d\002 sessions:"), mincount);
|
||||
source.Reply(_("Sessions Host"));
|
||||
|
||||
for (patricia_tree<Session *>::iterator it(SessionList); it.next();)
|
||||
for (Anope::map<Session *>::iterator it = SessionList.begin(), it_end = SessionList.end(); it != it_end; ++it)
|
||||
{
|
||||
Session *session = *it;
|
||||
Session *session = it->second;
|
||||
|
||||
if (session->count >= mincount)
|
||||
source.Reply(_("%6d %s"), session->count, session->host.c_str());
|
||||
|
||||
Reference in New Issue
Block a user