]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ojoin.cpp
Allow Channel::WriteNotice send to other servers and status ranks.
[user/henk/code/inspircd.git] / src / modules / m_ojoin.cpp
index c0626ec695357189dd4e4f6e343259176fe35349..e3366056d5cca5145e21df4469dc6827df738548 100644 (file)
@@ -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
                {