]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/main.h
Merge v2.0.23 and v2.0.24 into master.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / main.h
index 2490c83ef65133252cc606af4f76b42063484ce5..46c21b4e954aef8e12f7f1f4f932b982f55046dc 100644 (file)
@@ -131,10 +131,6 @@ class ModuleSpanningTree : public Module
         */
        ModResult HandleConnect(const std::vector<std::string>& parameters, User* user);
 
-       /** Attempt to send a message to a user
-        */
-       void RemoteMessage(User* user, const char* format, ...) CUSTOM_PRINTF(3, 4);
-
        /** Display a time as a human readable string
         */
        static std::string TimeToStr(time_t secs);
@@ -149,6 +145,7 @@ class ModuleSpanningTree : public Module
        void OnPostCommand(Command*, const std::vector<std::string>& parameters, LocalUser* user, CmdResult result, const std::string& original_line) CXX11_OVERRIDE;
        void OnUserConnect(LocalUser* source) CXX11_OVERRIDE;
        void OnUserInvite(User* source, User* dest, Channel* channel, time_t timeout, unsigned int notifyrank, CUList& notifyexcepts) CXX11_OVERRIDE;
+       ModResult OnPreTopicChange(User* user, Channel* chan, const std::string& topic) CXX11_OVERRIDE;
        void OnPostTopicChange(User* user, Channel* chan, const std::string &topic) CXX11_OVERRIDE;
        void OnUserMessage(User* user, void* dest, int target_type, const std::string& text, char status, const CUList& exempt_list, MessageType msgtype) CXX11_OVERRIDE;
        void OnBackgroundTimer(time_t curtime) CXX11_OVERRIDE;