From c3b2accb6b0d5a13789ca8d7a6ae710432d21f14 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 26 Sep 2006 17:33:49 +0000 Subject: Fix bug found by giggsey (even though he doesnt realise he just found one) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5340 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 9828c8657..a1df169e1 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1596,8 +1596,8 @@ class TreeSocket : public InspSocket } else { - this->Instance->WriteOpers("ERROR: We received a user with an unknown prefix '%c'. Closed connection to avoid a desync.",mh->GetPrefix()); - this->WriteLine(std::string("ERROR :Invalid prefix '")+mh->GetModeChar()+"' in FJOIN"); + this->Instance->WriteOpers("ERROR: We received a user with an unknown prefix '%c'. Closed connection to avoid a desync.",*permissions); + this->WriteLine(std::string("ERROR :Invalid prefix '")+(*permissions)+"' in FJOIN"); return false; } usr++; -- cgit v1.2.3