]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/main.h
Fix m_spanningtree sending the wrong setter in S2S ADDLINE.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / main.h
index 61e3a4680b509d974e3c44b173a163ebf6de9995..3e0a831111ed205efc98c9242b0b9c0708a34907 100644 (file)
@@ -31,7 +31,7 @@
  * If you  completely change the protocol, completely change the number.
  *
  * IMPORTANT: If you make changes, document your changes here, without fail:
- * http://wiki.inspircd.org/List_of_protocol_changes_between_versions
+ * https://wiki.inspircd.org/List_of_protocol_changes_between_versions
  *
  * Failure to document your protocol changes will result in a painfully
  * painful death by pain. You have been warned.
@@ -53,7 +53,6 @@ class Autoconnect;
 class ModuleSpanningTree : public Module
 {
        SpanningTreeCommands* commands;
-       void RedoConfig(Module* mod);
 
  public:
        SpanningTreeUtilities* Utils;
@@ -64,6 +63,11 @@ class ModuleSpanningTree : public Module
         */
        bool loopCall;
 
+       /** If true OnUserPostNick() won't update the nick TS before sending the NICK,
+        * used when handling SVSNICK.
+        */
+       bool KeepNickTS;
+
        /** Constructor
         */
        ModuleSpanningTree();
@@ -174,6 +178,7 @@ class ModuleSpanningTree : public Module
        void OnLoadModule(Module* mod);
        void OnUnloadModule(Module* mod);
        ModResult OnAcceptConnection(int newsock, ListenSocket* from, irc::sockets::sockaddrs* client, irc::sockets::sockaddrs* server);
+       void OnRequest(Request& request);
        CullResult cull();
        ~ModuleSpanningTree();
        Version GetVersion();