From 5028040d96a9c736f48ad2b62c6232078bf470db Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Nov 2007 13:46:51 +0000 Subject: Move lookup_lines to private, theres no need for it to be public any more git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8460 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 4 ++-- src/xline.cpp | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/xline.h b/include/xline.h index 5f982b1c5..990934c56 100644 --- a/include/xline.h +++ b/include/xline.h @@ -395,10 +395,10 @@ class CoreExport XLineManager QLineFactory* QFact; ZLineFactory* ZFact; - public: - XLineContainer lookup_lines; + public: + /** Constructor * @param Instance A pointer to the creator object */ diff --git a/src/xline.cpp b/src/xline.cpp index 47522f77d..b11f9f27c 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -163,9 +163,7 @@ void ELine::Unset() u->exempt = false; } - ContainerIter x = ServerInstance->XLines->lookup_lines.find("E"); - if (x != ServerInstance->XLines->lookup_lines.end()) - ServerInstance->XLines->CheckELines(); + ServerInstance->XLines->CheckELines(); } // returns a pointer to the reason if a nickname matches a qline, NULL if it didnt match -- cgit v1.2.3