diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-17 20:28:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-17 20:28:45 +0000 |
commit | 4bd22e7be8f83eefef904b775fb65d96899eb458 (patch) | |
tree | 8aa0636a0157155c0277c5c7caacca59d6a2b4c2 /src/modules/m_spanningtree | |
parent | db0a845b46587579f4839c678aeac23aed8a490e (diff) |
UID translator broken with space or comma seperated lists (thanks danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8220 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 2ccf510c7..c032c0278 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -823,8 +823,12 @@ void ModuleSpanningTree::OnMode(User* user, void* dest, int target_type, const s std::string command; std::string output_text; + ServerInstance->Log(DEBUG,"OnMode: %s", text.c_str()); + ServerInstance->Parser->TranslateUIDs(TR_SPACENICKLIST, text, output_text); + ServerInstance->Log(DEBUG,"Translated: %s", output_text.c_str()); + if (target_type == TYPE_USER) { User* u = (User*)dest; |