X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcoremods%2Fcore_oper%2Fcore_oper.h;h=338a369f518f3ba5cebd5964924ce81ec0ea16be;hb=33137bba446212f89f7b94f50ace20db19b6d009;hp=3b3dfd4b26f5adf425e8cd51c441f04049c8a2ea;hpb=c715182bf86532d767c939a344bd4f304d25df09;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/coremods/core_oper/core_oper.h b/src/coremods/core_oper/core_oper.h index 3b3dfd4b2..338a369f5 100644 --- a/src/coremods/core_oper/core_oper.h +++ b/src/coremods/core_oper/core_oper.h @@ -30,6 +30,11 @@ namespace DieRestart * @return True if the given password was correct, false if it was not */ bool CheckPass(User* user, const std::string& inputpass, const char* confkey); + + /** Send an ERROR to unregistered users and a NOTICE to all registered local users + * @param message Message to send + */ + void SendError(const std::string& message); } /** Handle /DIE.