diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-26 17:33:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-26 17:33:49 +0000 |
commit | c3b2accb6b0d5a13789ca8d7a6ae710432d21f14 (patch) | |
tree | 2ad033621fdd85e39f0a7e73ccb6087389889bfc /src/modules/m_spanningtree.cpp | |
parent | 27199ee710c2d4d35b68ab0d974feedbdb65da09 (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/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 4 |
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++; |