diff options
| author | 2008-01-08 23:33:57 +0000 | |
|---|---|---|
| committer | 2008-01-08 23:33:57 +0000 | |
| commit | 82fd63d222b8cb28ee62ea95b81cdfd692150fb1 (patch) | |
| tree | f44aaa429148f6ca874bbae8e2861aa7d9f29a6e /src/modules/m_xline_db.cpp | |
| parent | Fix problem #1 by setting a lock on writes when we're reading. This means no ... (diff) | |
| download | inspircd++-82fd63d222b8cb28ee62ea95b81cdfd692150fb1.tar.gz inspircd++-82fd63d222b8cb28ee62ea95b81cdfd692150fb1.tar.bz2 inspircd++-82fd63d222b8cb28ee62ea95b81cdfd692150fb1.zip | |
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/m_xline_db.cpp')
| -rw-r--r-- | src/modules/m_xline_db.cpp | 6 |
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) { |
