From ae355704b0c7e952ea920a7e48c64f2934560e90 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 12:16:23 +0000 Subject: Casting glitch git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2047 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 46683202d..df2939f76 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -467,7 +467,7 @@ class TreeSocket : public InspSocket strlcpy(c->topic,topic.c_str(),MAXTOPIC); strlcpy(c->setby,setby.c_str(),NICKMAX); c->topicset = ts; - WriteChannelWithServ(source.c_str(), c, "TOPIC %s :%s", c->name, c->topic) + WriteChannelWithServ((char*)source.c_str(), c, "TOPIC %s :%s", c->name, c->topic); } } -- cgit v1.2.3