]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ojoin.cpp
m_dccallow Validate tokens before use
[user/henk/code/inspircd.git] / src / modules / m_ojoin.cpp
index 8f8d3ca90142eefcae1c1634f93df667e01fc850..026d98f869032be75394fdedb528e109a1b9702f 100644 (file)
@@ -75,7 +75,6 @@ class CommandOjoin : public Command
 
                        if (notice)
                        {
-                               channel = ServerInstance->FindChan(parameters[0]);
                                channel->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :%s joined on official network business.",
                                        parameters[0].c_str(), user->nick.c_str());
                                ServerInstance->PI->SendChannelNotice(channel, 0, user->nick + " joined on official network business.");