From a589577b68cb84bc877ecdd4c0f9cb84a1581ddd Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 21 Nov 2012 00:15:13 +0100 Subject: Add a typedef for LocalUserList --- src/modules/extra/m_geoip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_geoip.cpp b/src/modules/extra/m_geoip.cpp index ffb4c1922..f92054f9e 100644 --- a/src/modules/extra/m_geoip.cpp +++ b/src/modules/extra/m_geoip.cpp @@ -60,7 +60,7 @@ class ModuleGeoIP : public Module Implementation eventlist[] = { I_OnSetConnectClass, I_OnStats }; ServerInstance->Modules->Attach(eventlist, this, 2); - for (std::vector::const_iterator i = ServerInstance->Users->local_users.begin(); i != ServerInstance->Users->local_users.end(); ++i) + for (LocalUserList::const_iterator i = ServerInstance->Users->local_users.begin(); i != ServerInstance->Users->local_users.end(); ++i) { LocalUser* user = *i; if ((user->registered == REG_ALL) && (!ext.get(user))) -- cgit v1.2.3