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:
w00t 2008-05-05 13:01:42 +00:00
parent a4e252e003
commit 7ee0ade96a

View File

@ -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;