From 82fd63d222b8cb28ee62ea95b81cdfd692150fb1 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 8 Jan 2008 23:33:57 +0000 Subject: [PATCH] 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 --- src/modules/m_xline_db.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp index d77f8e919..e52caed17 100644 --- a/src/modules/m_xline_db.cpp +++ b/src/modules/m_xline_db.cpp @@ -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) { -- 2.39.2