mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
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:
parent
ffbbfa9cd6
commit
bcf2e57d81
@ -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:
|
||||
{
|
||||
|
@ -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],' '))
|
||||
|
Loading…
x
Reference in New Issue
Block a user