summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-01 21:25:54 +0200
committerRobin Burchell <robin+git@viroteck.net>2012-07-01 22:51:26 +0200
commite6d10930d668038d2367fbe815d000251a069e02 (patch)
tree516b65da9b2f61719dccaea3ed1b05c5ddcc1a93 /src
parent972af12415addb1b5d72708af5d98bd4bd1bd47a (diff)
Fix crash in ADDLINE handler when the command had no parameters
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/addline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/addline.cpp b/src/modules/m_spanningtree/addline.cpp
index db9a7f2d6..5c3ad548d 100644
--- a/src/modules/m_spanningtree/addline.cpp
+++ b/src/modules/m_spanningtree/addline.cpp
@@ -30,7 +30,7 @@ bool TreeSocket::AddLine(const std::string &prefix, parameterlist &params)
{
if (params.size() < 6)
{
- ServerInstance->SNO->WriteToSnoMask('d',"%s sent me a malformed ADDLINE of type %s.",prefix.c_str(),params[0].c_str());
+ ServerInstance->SNO->WriteToSnoMask('d', "%s sent me a malformed ADDLINE", MyRoot->GetName().c_str());
return true;
}