From bcf2e57d8125fceb2f573fe77ac122158aa75a13 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 27 Aug 2007 16:39:32 +0000 Subject: Debug to try figure this out .. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7895 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 5 +++++ src/modules/m_spanningtree/main.cpp | 1 + 2 files changed, 6 insertions(+) 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],' ')) -- cgit v1.2.3