Fix problem #2 (this means that xlinedb is essentially working and feature-complete..). XLine subsystem still seems to be having rather screwed problems per bug #457.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8671 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
w00t 2008-01-08 23:33:57 +00:00
parent 228665b0ab
commit 82fd63d222

View File

@ -190,6 +190,8 @@ ServerInstance->Config->ServerName, line->set_time, line->duration, line->reason
items++;
}
ServerInstance->Log(DEBUG, "xlinedb: Processing %s", linebuf);
if (command_p[0] == "VERSION")
{
if (command_p[1] == "1")
@ -206,8 +208,8 @@ ServerInstance->Config->ServerName, line->set_time, line->duration, line->reason
}
else if (command_p[0] == "LINE")
{
//mercilessly stolen from spanningtree
XLineFactory* xlf = ServerInstance->XLines->GetFactory(command_p[0]);
// Mercilessly stolen from spanningtree
XLineFactory* xlf = ServerInstance->XLines->GetFactory(command_p[1]);
if (!xlf)
{