summaryrefslogtreecommitdiff
path: root/src/modules/m_ojoin.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-11-17 22:06:36 +0000
committerPeter Powell <petpow@saberuk.com>2019-11-17 22:17:42 +0000
commit687778b72e31322a73b2e2e17af6bd0f2a2561bc (patch)
treed492c428f43378723357a0f82a2cb73ba994ad83 /src/modules/m_ojoin.cpp
parentb443df39386c77cf2d027e2b45c4d629261e0100 (diff)
Allow Channel::WriteNotice send to other servers and status ranks.
Diffstat (limited to 'src/modules/m_ojoin.cpp')
-rw-r--r--src/modules/m_ojoin.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp
index c0626ec69..e3366056d 100644
--- a/src/modules/m_ojoin.cpp
+++ b/src/modules/m_ojoin.cpp
@@ -57,11 +57,7 @@ class CommandOjoin : public SplitCommand
ServerInstance->SNO->WriteGlobalSno('a', user->nick+" used OJOIN to join "+channel->name);
if (notice)
- {
- const std::string msg = user->nick + " joined on official network business.";
- channel->WriteNotice(msg);
- ServerInstance->PI->SendChannelNotice(channel, 0, msg);
- }
+ channel->WriteNotice(user->nick + " joined on official network business.");
}
else
{