diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-07-19 13:55:02 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-08-25 13:41:36 +0200 |
commit | 61d586b1a3ad689669f6dcdc285b0d021ca814bd (patch) | |
tree | 328d3148a653932445a2f8488500852b1e812e52 /src/commands | |
parent | 9745333cd4c846ef04ad78c41f04a87af7e5b2d6 (diff) |
Clean up the protocol interface
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_lusers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_lusers.cpp b/src/commands/cmd_lusers.cpp index ef35d1e19..06419733d 100644 --- a/src/commands/cmd_lusers.cpp +++ b/src/commands/cmd_lusers.cpp @@ -73,11 +73,11 @@ class CommandLusers : public Command CmdResult CommandLusers::Handle (const std::vector<std::string>&, User *user) { unsigned int n_users = ServerInstance->Users->RegisteredUserCount(); - ProtoServerList serverlist; + ProtocolInterface::ServerList serverlist; ServerInstance->PI->GetServerList(serverlist); unsigned int n_serv = serverlist.size(); unsigned int n_local_servs = 0; - for(ProtoServerList::iterator i = serverlist.begin(); i != serverlist.end(); ++i) + for (ProtocolInterface::ServerList::const_iterator i = serverlist.begin(); i != serverlist.end(); ++i) { if (i->parentname == ServerInstance->Config->ServerName) n_local_servs++; |