summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xline.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 4bd3e51b5..f6fc8af0a 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -174,7 +174,11 @@ bool XLineManager::AddLine(XLine* line, User* user)
ContainerIter x = lookup_lines.find(line->type);
if (x != lookup_lines.end())
{
- return false;
+ LookupIter i = x->second.find(line->Displayable());
+ if (i != x->second.end())
+ {
+ return false;
+ }
}
/*ELine* item = new ELine(ServerInstance, ServerInstance->Time(), duration, source, reason, ih.first.c_str(), ih.second.c_str());*/