summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 15:27:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 15:27:35 +0000
commit036f62f864411dd5018ec718ec58a9c787cbbcfd (patch)
tree336e8866600c56ee6e1061fb6c88d8d847b4cf65 /src/modules/m_spanningtree
parentcd2406617f5c0c3c5e7f53519ea47b9178b7802a (diff)
Auto translation nick->uuid for command params should now work in all modules which set their translation types. None do atm.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7889 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 651afe095..c180bfd0c 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -812,8 +812,8 @@ void ModuleSpanningTree::OnPostCommand(const std::string &command, const char**
// commands and linking protocols.
std::deque<std::string> params;
params.clear();
- size_t n_translate = thiscmd->translation.size();
- TranslationType translate_to;
+ int n_translate = thiscmd->translation.size();
+ TranslateType translate_to;
for (int j = 0; j < pcnt; j++)
{