summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 19:53:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 19:53:03 +0000
commit869bd02318d94a38369a125726b8edeb54ba0706 (patch)
treef56397934a1077011633291e6d73d75086781ec9 /src/modules/m_spanningtree
parent12427e75fe175fe7a62f388281dd7ab5100c9dda (diff)
Convert channel banlist members to std::string
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9769 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-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 3a28ca8a9..40718cedb 100644
--- a/src/modules/m_spanningtree/netburst.cpp
+++ b/src/modules/m_spanningtree/netburst.cpp
@@ -124,7 +124,7 @@ void TreeSocket::SendFJoins(TreeServer* Current, Channel* c)
int linesize = 1;
for (BanList::iterator b = c->bans.begin(); b != c->bans.end(); b++)
{
- int size = strlen(b->data) + 2;
+ int size = b->data.length() + 2;
int currsize = linesize + size;
if (currsize <= 350)
{