diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-09 08:08:50 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-09 08:08:50 +0000 |
commit | 6ce70de0c185e8e753eda120ddfaf9906acd9469 (patch) | |
tree | 4391457bfb1215f028948fc6b0501a267d819072 | |
parent | 82fd63d222b8cb28ee62ea95b81cdfd692150fb1 (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.cpp | 2 |
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; |