From 869bd02318d94a38369a125726b8edeb54ba0706 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 19 May 2008 19:53:03 +0000 Subject: Convert channel banlist members to std::string git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9769 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/netburst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') 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) { -- cgit v1.2.3