summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/translate.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-29 14:50:08 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-29 14:50:08 +0200
commit19f0c09aa783cc3b945c880d509c1da8bc8e0275 (patch)
tree06930b6a8adcbcd3f90e297e2bb705bd13908f37 /src/modules/m_spanningtree/translate.cpp
parent19295ade368e9691b9d4f3152520284c7ad67b13 (diff)
Convert ModeHandler::GetNumParams() to NeedsParam() that returns a bool
Diffstat (limited to 'src/modules/m_spanningtree/translate.cpp')
-rw-r--r--src/modules/m_spanningtree/translate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/translate.cpp b/src/modules/m_spanningtree/translate.cpp
index 48c0632e5..66e1bb35b 100644
--- a/src/modules/m_spanningtree/translate.cpp
+++ b/src/modules/m_spanningtree/translate.cpp
@@ -27,7 +27,7 @@ std::string Translate::ModeChangeListToParams(const Modes::ChangeList::List& mod
{
const Modes::Change& item = *i;
ModeHandler* mh = item.mh;
- if (!mh->GetNumParams(item.adding))
+ if (!mh->NeedsParam(item.adding))
continue;
ret.push_back(' ');