diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/uid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp index abde297a2..de3b669c4 100644 --- a/src/modules/m_spanningtree/uid.cpp +++ b/src/modules/m_spanningtree/uid.cpp @@ -119,7 +119,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa if (mh) { - if (mh->GetNumParams(true) && (paramptr < params.size())) + if (mh->GetNumParams(true) && (paramptr < params.size() - 1)) mh->OnModeChange(_new, _new, NULL, params[paramptr++], true); else mh->OnModeChange(_new, _new, NULL, empty, true); |