]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/main.h
Store id in TreeServer, use TreeServer::GetID() to get the id (NOTE: it is std::string)
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / main.h
index c184ef07663a24f9bf92269eaddc6370d608821b..41961dc099096adeb5445ff30bfeb977758294ec 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "inspircd.h"
 #include "modules.h"
+#include <stdarg.h>
 
 /** If you make a change which breaks the protocol, increment this.
  * If you  completely change the protocol, completely change the number.
@@ -26,7 +27,7 @@
  * Failure to document your protocol changes will result in a painfully
  * painful death by pain. You have been warned.
  */
-const long ProtocolVersion = 1105;
+const long ProtocolVersion = 1200;
 
 /** Forward declarations
  */
@@ -141,6 +142,10 @@ class ModuleSpanningTree : public Module
         */
        void BroadcastTimeSync();
 
+       /** Attempt to send a message to a user
+        */
+       void RemoteMessage(userrec* user, const char* format, ...);
+
        /** Returns oper-specific MAP information
         */
        const std::string MapOperInfo(TreeServer* Current);