diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 12:51:25 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 12:51:25 +0000 |
commit | a4e252e003ecf3dcb7643af0904837998f295e4c (patch) | |
tree | 8ab761ae791a9b50558c65c7dc1788b98d972abb /src | |
parent | ac8e888fd084ba76df1b3575a3563ca712004f3b (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')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 11 |
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; |