diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/commandbuilder.h | 2 | ||||
-rw-r--r-- | src/modules/m_spanningtree/misccommands.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/commandbuilder.h b/src/modules/m_spanningtree/commandbuilder.h index 6159d7b8a..f6cca9917 100644 --- a/src/modules/m_spanningtree/commandbuilder.h +++ b/src/modules/m_spanningtree/commandbuilder.h @@ -69,7 +69,7 @@ class CmdBuilder { content.append(src->uuid); push(cmd); - if (src == ServerInstance->FakeClient) + if (InspIRCd::IsSID(src->uuid)) FireEvent(src->server, cmd, tags); else FireEvent(src, cmd, tags); diff --git a/src/modules/m_spanningtree/misccommands.cpp b/src/modules/m_spanningtree/misccommands.cpp index 1d4104f28..55c36a3ba 100644 --- a/src/modules/m_spanningtree/misccommands.cpp +++ b/src/modules/m_spanningtree/misccommands.cpp @@ -59,10 +59,9 @@ void CmdBuilder::UpdateTags() } } taglist.push_back(' '); - content.insert(0, taglist); } content.replace(0, tagsize, taglist); - tagsize = content.length(); + tagsize = taglist.length(); } CmdResult CommandSNONotice::Handle(User* user, Params& params) |