X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_lockserv.cpp;h=f25ba0553346baa4180eb912e8506880c206bcee;hb=8be88f3e732e7a40f2e501c5e5b78c7f1b999f2d;hp=02a3a6c9be32b4417ae7b5d7500acbef5cba23fe;hpb=b6dbd6caab62bc2c0d11ce5a45d511611eb9c2ef;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp index 02a3a6c9b..f25ba0553 100644 --- a/src/modules/m_lockserv.cpp +++ b/src/modules/m_lockserv.cpp @@ -38,7 +38,7 @@ public: { locked = true; user->WriteNumeric(988, "%s %s :Closed for new connections", user->nick.c_str(), user->server); - ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used LOCKSERV to temporarily close for new connections", user->nick.c_str()); + ServerInstance->SNO->WriteGlobalSno('a', "Oper %s used LOCKSERV to temporarily close for new connections", user->nick.c_str()); /* Dont send to the network */ return CMD_LOCALONLY; } @@ -61,7 +61,7 @@ public: { locked = false; user->WriteNumeric(989, "%s %s :Open for new connections", user->nick.c_str(), user->server); - ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used UNLOCKSERV to allow for new connections", user->nick.c_str()); + ServerInstance->SNO->WriteGlobalSno('a', "Oper %s used UNLOCKSERV to allow for new connections", user->nick.c_str()); /* Dont send to the network */ return CMD_LOCALONLY; } @@ -97,7 +97,7 @@ public: } - virtual void OnRehash(User* user, const std::string ¶meter) + virtual void OnRehash(User* user) { ResetLocked(); }