summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-26 17:33:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-26 17:33:49 +0000
commitc3b2accb6b0d5a13789ca8d7a6ae710432d21f14 (patch)
tree2ad033621fdd85e39f0a7e73ccb6087389889bfc /src/modules
parent27199ee710c2d4d35b68ab0d974feedbdb65da09 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files 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++;