]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_xline_db.cpp
Allow the maximum length of a chanfilter message to be configured.
[user/henk/code/inspircd.git] / src / modules / m_xline_db.cpp
index ae8b209e35f01d8b0fbd14c2b1108725a5115342..d220027fef5fdb5fe7cbf87e27ecfac92c6e7c02 100644 (file)
@@ -64,11 +64,6 @@ class ModuleXLineDB : public Module
                dirty = true;
        }
 
-       void OnExpireLine(XLine *line) CXX11_OVERRIDE
-       {
-               dirty = true;
-       }
-
        void OnBackgroundTimer(time_t now) CXX11_OVERRIDE
        {
                if (dirty)
@@ -120,7 +115,7 @@ class ModuleXLineDB : public Module
                                XLine* line = i->second;
                                stream << "LINE " << line->type << " " << line->Displayable() << " "
                                        << ServerInstance->Config->ServerName << " " << line->set_time << " "
-                                       << line->duration << " " << line->reason << std::endl;
+                                       << line->duration << " :" << line->reason << std::endl;
                        }
                }