]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_oper/core_oper.h
Move InspIRCd::SendError() to cmd_die
[user/henk/code/inspircd.git] / src / coremods / core_oper / core_oper.h
index 3b3dfd4b26f5adf425e8cd51c441f04049c8a2ea..338a369f518f3ba5cebd5964924ce81ec0ea16be 100644 (file)
@@ -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.