diff options
Diffstat (limited to 'src/modules/m_delaymsg.cpp')
-rw-r--r-- | src/modules/m_delaymsg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp index 8400823fa..b5fdd8238 100644 --- a/src/modules/m_delaymsg.cpp +++ b/src/modules/m_delaymsg.cpp @@ -14,6 +14,8 @@ #include "inspircd.h" #include <stdarg.h> +/* $ModDesc: Provides channelmode +d <int>, to deny messages to a channel until <int> seconds. */ + class DelayMsgMode : public ModeHandler { private: @@ -63,8 +65,6 @@ class ModuleDelayMsg : public Module ModResult OnUserPreMessage(User* user, void* dest, int target_type, std::string &text, char status, CUList &exempt_list); }; -/* $ModDesc: Allows for delay-join channels (+D) where users dont appear to join until they speak */ - ModeAction DelayMsgMode::OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { if (adding) |