From 1df66532700845a64e9ad2909c55c00bbf1d4e8d Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 14 Jan 2014 15:01:44 +0100 Subject: m_sajoin Send global snotice when the join happens Remove "sent remote SAJOIN" local snotice Fixes issue #382 reported by @JDowny --- src/modules/m_sajoin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index 932b564fa..7ac465732 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -65,7 +65,7 @@ class CommandSajoin : public Command { if (n->HasUser(dest)) { - ServerInstance->SNO->WriteToSnoMask('a', user->nick+" used SAJOIN to make "+dest->nick+" join "+parameters[1]); + ServerInstance->SNO->WriteGlobalSno('a', user->nick+" used SAJOIN to make "+dest->nick+" join "+parameters[1]); return CMD_SUCCESS; } else @@ -82,7 +82,6 @@ class CommandSajoin : public Command } else { - ServerInstance->SNO->WriteToSnoMask('a', user->nick+" sent remote SAJOIN to make "+dest->nick+" join "+parameters[1]); return CMD_SUCCESS; } } -- cgit v1.2.3