summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-05 12:51:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-05 12:51:25 +0000
commita4e252e003ecf3dcb7643af0904837998f295e4c (patch)
tree8ab761ae791a9b50558c65c7dc1788b98d972abb /src/modules
parentac8e888fd084ba76df1b3575a3563ca712004f3b (diff)
Alter remotemessage here to not do what w00ts patch did, twice
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-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;