X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_spanningtree%2Fmain.h;h=41961dc099096adeb5445ff30bfeb977758294ec;hb=66d187fa55b4fdcb38ec987c269c4c1573a441b5;hp=c184ef07663a24f9bf92269eaddc6370d608821b;hpb=f0235432d1faad2f89c3abc0abd609e004919ed6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index c184ef076..41961dc09 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -16,6 +16,7 @@ #include "inspircd.h" #include "modules.h" +#include /** 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);