summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/main.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 6c77de076..b9dc2948a 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -377,7 +377,6 @@ void ModuleSpanningTree::RemoteMessage(User* user, const char* format, ...)
return;
SendingRemoteMessage = true;
- std::deque<std::string> params;
char text[MAXBUF];
va_list argsPtr;
@@ -389,21 +388,11 @@ void ModuleSpanningTree::RemoteMessage(User* user, const char* format, ...)
{
/* No user, target it generically at everyone */
ServerInstance->SNO->WriteToSnoMask('l', "%s", text);
- params.push_back("l");
- params.push_back(std::string(":") + text);
- Utils->DoOneToMany(ServerInstance->Config->GetSID(), "SNONOTICE", params);
}
else
{
if (IS_LOCAL(user))
user->WriteServ("NOTICE %s :%s", user->nick, text);
- else
- {
- params.push_back(user->uuid);
- params.push_back(std::string("::") + ServerInstance->Config->ServerName + " NOTICE " + user->nick + " :*** From " +
- ServerInstance->Config->ServerName+ ": " + text);
- Utils->DoOneToMany(ServerInstance->Config->GetSID(), "PUSH", params);
- }
}
SendingRemoteMessage = false;