summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 16:39:32 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 16:39:32 +0000
commitbcf2e57d8125fceb2f573fe77ac122158aa75a13 (patch)
treeceb0f4350324282227b059cc2a78b6ba7739f888 /src
parentffbbfa9cd6c5e30f4ba84d51bb31e42a3e7ebd41 (diff)
Debug to try figure this out ..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7895 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/command_parse.cpp5
-rw-r--r--src/modules/m_spanningtree/main.cpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 3ffbfe3db..a155a6207 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -604,14 +604,19 @@ int CommandParser::TranslateUIDs(TranslateType to, const std::string &source, st
{
case TR_NICK:
/* Translate single nickname */
+ ServerInstance->Log(DEBUG,"TR_NICK");
user = ServerInstance->FindNick(source);
if (user)
{
+ ServerInstance->Log(DEBUG,"Managed UUID");
dest = user->uuid;
translations++;
}
else
+ {
+ ServerInstance->Log(DEBUG,"Had to use source.. (%s)", source.c_str());
dest = source;
+ }
break;
case TR_NICKLIST:
{
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index ed562e829..9bdccf75f 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -828,6 +828,7 @@ void ModuleSpanningTree::OnPostCommand(const std::string &command, const char**
else
translate_to = TR_TEXT;
+ ServerInstance->Log(DEBUG,"TRANSLATION: %s - type is %d", parameters[j], translate_to);
ServerInstance->Parser->TranslateUIDs(translate_to, parameters[j], target);
if (strchr(parameters[j],' '))