]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/snomasks.h
Fix a bug (snotices repeating constantly), and add a flush timer (1x5 seconds)
[user/henk/code/inspircd.git] / include / snomasks.h
index 2f53443f07f9e07870206c837f66443c4413243b..a6a1f2d82a5e52b8c90453673239e7aa094537be 100644 (file)
@@ -25,9 +25,6 @@ class Snomask
  private:
        InspIRCd *ServerInstance;
 
-       /** Sends out a pending message
-        */
-       void Flush();
  public:
        char MySnomask;
        std::string Description;
@@ -46,6 +43,10 @@ class Snomask
        /** Sends a message to all opers with this snomask.
         */
        void SendMessage(const std::string &message);
+
+       /** Sends out a pending message
+        */
+       void Flush();
 };
 
 /** A list of snomasks which are valid, and their descriptive texts