mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Un-break this so remote users still get RemoteMessage okay if targetted at a specific user, remove comment also as it's using PI now anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9646 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
a4e252e003
commit
7ee0ade96a
@ -363,8 +363,6 @@ int ModuleSpanningTree::HandleVersion(const std::vector<std::string>& parameters
|
||||
* sent that message remotely via PUSH.
|
||||
* If the user is NULL, then the notice is sent locally via WriteToSnoMask with snomask 'l',
|
||||
* and remotely via SNONOTICE with mask 'l'.
|
||||
*
|
||||
* XXX: this should be migrated to use the protocol interface code, most likely. -- w00t
|
||||
*/
|
||||
void ModuleSpanningTree::RemoteMessage(User* user, const char* format, ...)
|
||||
{
|
||||
@ -393,6 +391,8 @@ void ModuleSpanningTree::RemoteMessage(User* user, const char* format, ...)
|
||||
{
|
||||
if (IS_LOCAL(user))
|
||||
user->WriteServ("NOTICE %s :%s", user->nick, text);
|
||||
else
|
||||
ServerInstance->PI->SendUserNotice(user, text);
|
||||
}
|
||||
|
||||
SendingRemoteMessage = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user