From a4e252e003ecf3dcb7643af0904837998f295e4c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 May 2008 12:51:25 +0000 Subject: 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 --- src/modules/m_spanningtree/main.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') 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 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; -- cgit v1.2.3