]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/xline.cpp
Threadengine stuff
[user/henk/code/inspircd.git] / src / xline.cpp
index 20f824da0d8b70988cee4a796ea97bd2e2bda477..547a54fea6ed564ced89b8f442333627338cae2e 100644 (file)
@@ -139,6 +139,7 @@ IdentHostPair XLineManager::IdentSplit(const std::string &ident_and_host)
        }
        else
        {
+               n.first = "";
                n.second = ident_and_host;
        }
 
@@ -390,6 +391,11 @@ void XLine::Apply(User* u)
 {
 }
 
+bool XLine::IsBurstable()
+{
+       return true;
+}
+
 void XLine::DefaultApply(User* u, const std::string &line, bool bancache)
 {
        char sreason[MAXBUF];
@@ -594,6 +600,11 @@ const char* QLine::Displayable()
        return nick;
 }
 
+bool KLine::IsBurstable()
+{
+       return false;
+}
+
 bool XLineManager::RegisterFactory(XLineFactory* xlf)
 {
        XLineFactMap::iterator n = line_factory.find(xlf->GetType());