summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-09 08:08:50 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-09 08:08:50 +0000
commit6ce70de0c185e8e753eda120ddfaf9906acd9469 (patch)
tree4391457bfb1215f028948fc6b0501a267d819072
parent82fd63d222b8cb28ee62ea95b81cdfd692150fb1 (diff)
Fix bug in new XLine system (thanks Brain) - I don't know how I didn't spot this one :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8672 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/xline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 49ae04cb7..a77f7dc0b 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -620,7 +620,7 @@ XLineFactory* XLineManager::GetFactory(const std::string &type)
{
XLineFactMap::iterator n = line_factory.find(type);
- if (n != line_factory.end())
+ if (n == line_factory.end())
return NULL;
return n->second;