]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_geoip.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / extra / m_geoip.cpp
index ffb4c192277eba84a735905dc7794942771f4672..f92054f9efe360127226c7793422b7c63dbbecf6 100644 (file)
@@ -60,7 +60,7 @@ class ModuleGeoIP : public Module
                Implementation eventlist[] = { I_OnSetConnectClass, I_OnStats };
                ServerInstance->Modules->Attach(eventlist, this, 2);
 
-               for (std::vector<LocalUser*>::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)))