diff options
-rw-r--r-- | src/command_parse.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 1 |
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],' ')) |