X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fxline.cpp;h=d3821b528147c2a66b05c43782823d4064379c41;hb=eb28eaea35d9d109a0b7b890de9d957d562da675;hp=868508db66f86bd455082c231f759b36c1c4ebb0;hpb=1cbf29e3cd070c12437a657b47fc433008b2c74d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/xline.cpp b/src/xline.cpp index 868508db6..d3821b528 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -44,7 +44,6 @@ extern InspIRCd* ServerInstance; extern int MODCOUNT; extern std::vector modules; extern std::vector factory; -extern std::vector local_users; /* Version two, now with optimized expiry! * @@ -665,7 +664,7 @@ void apply_lines(const int What) CullList* Goners = new CullList(); char* check = NULL; - for (std::vector::const_iterator u2 = local_users.begin(); u2 != local_users.end(); u2++) + for (std::vector::const_iterator u2 = ServerInstance->local_users.begin(); u2 != ServerInstance->local_users.end(); u2++) { userrec* u = (userrec*)(*u2); u->MakeHost(host);