summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-08 23:33:57 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-08 23:33:57 +0000
commit82fd63d222b8cb28ee62ea95b81cdfd692150fb1 (patch)
treef44aaa429148f6ca874bbae8e2861aa7d9f29a6e /src/modules
parent228665b0ab71ed83d2a987433117e8510bc76f78 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_xline_db.cpp6
1 files 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)
{