]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/snomasks.h
Add the OnServerBurst hook and fix the docs for OnServerLink.
[user/henk/code/inspircd.git] / include / snomasks.h
index db398922505e1c89750764e68c2fbe185ebf4784..817371613c1833a4af4cff65affa0330123b8352 100644 (file)
@@ -50,7 +50,7 @@ class Snomask
 
        /** Sends a message to all opers with this snomask.
         * @param message The message to send
-        * @param remote If true the message will go to the uppercase variant of this snomask
+        * @param letter The snomask character to send the message to.
         */
        void SendMessage(const std::string& message, char letter);
 
@@ -59,8 +59,8 @@ class Snomask
        void Flush();
 
        /** Returns the description of this snomask
-        * @param remote If true the description of the uppercase (remote) variant of this snomask
-        * will be returned (i.e.: "REMOTE" will be prepended to the description).
+        * @param letter The letter of this snomask. If uppercase, the description of the remote
+        * variant of this snomask will be returned (i.e.: "REMOTE" will be prepended to the description).
         * @return The description of this snomask
         */
        std::string GetDescription(char letter) const;
@@ -72,7 +72,7 @@ class Snomask
  * Modules and the core can enable and disable snomask characters. If they do,
  * then sending snomasks using these characters becomes possible.
  */
-class CoreExport SnomaskManager
+class CoreExport SnomaskManager : public fakederef<SnomaskManager>
 {
        Snomask masks[26];