summaryrefslogtreecommitdiff
path: root/src/modules/m_sajoin.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-14 15:01:44 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-14 15:01:44 +0100
commit1df66532700845a64e9ad2909c55c00bbf1d4e8d (patch)
tree8bc5f785cc019fe4f86b05ba4f912aa3566cc0f6 /src/modules/m_sajoin.cpp
parentd0a6b9c6eab666136af529953ebd585986a19848 (diff)
m_sajoin Send global snotice when the join happens
Remove "sent remote SAJOIN" local snotice Fixes issue #382 reported by @JDowny
Diffstat (limited to 'src/modules/m_sajoin.cpp')
-rw-r--r--src/modules/m_sajoin.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}
}