diff options
Diffstat (limited to 'src/xline.cpp')
-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; |