]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Move lookup_lines to private, theres no need for it to be public any more
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 2 Nov 2007 13:46:51 +0000 (13:46 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 2 Nov 2007 13:46:51 +0000 (13:46 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8460 e03df62e-2008-0410-955e-edbf42e46eb7

include/xline.h
src/xline.cpp

index 5f982b1c53a2700927c5a412ad99edcdbfe64e19..990934c56894cb4d23f8594e84ec37d064b95056 100644 (file)
@@ -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
         */
index 47522f77d5d5bbbbc05b0548dd96198a0604f0a5..b11f9f27ca6a36c37eb58ce683bf8e9171b90bd0 100644 (file)
@@ -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