Debug to try figure this out ..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7895 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
w00t 2007-08-27 16:39:32 +00:00
parent ffbbfa9cd6
commit bcf2e57d81
2 changed files with 6 additions and 0 deletions

View File

@ -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:
{

View File

@ -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],' '))