diff options
-rw-r--r-- | include/xline.h | 4 | ||||
-rw-r--r-- | 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 |