summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-02 13:46:51 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-02 13:46:51 +0000
commit5028040d96a9c736f48ad2b62c6232078bf470db (patch)
treec7d01064aaf1b3257fb57c6f79f0ffe89762362a
parent5ecd5447d0f52592b121778f251965179597466d (diff)
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
-rw-r--r--include/xline.h4
-rw-r--r--src/xline.cpp4
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