summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/netburst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/netburst.cpp')
-rw-r--r--src/modules/m_spanningtree/netburst.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp
index ee5707fdb..21404e68e 100644
--- a/src/modules/m_spanningtree/netburst.cpp
+++ b/src/modules/m_spanningtree/netburst.cpp
@@ -102,7 +102,7 @@ void TreeSocket::SendFJoins(Channel* c)
for (UserMembCIter i = ulist->begin(); i != ulist->end(); ++i)
{
const std::string& modestr = i->second->modes;
- if ((line.length() + modestr.length() + (UUID_LENGTH-1) + 2) > 480)
+ if ((line.length() + modestr.length() + UIDGenerator::UUID_LENGTH + 2) > 480)
{
this->WriteLine(line);
line.erase(erase_from);