diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-06 14:32:04 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-06 14:32:04 +0000 |
commit | 62ea718ea6d9f6403dc2e07ef7b680fbed33b1d9 (patch) | |
tree | ba33fd66d7c11ae5020098e98d07ea3a7cf52d7b /src/modules/m_delaymsg.cpp | |
parent | 511166ef7fe8dcff02c552e55de2b419b5edbf65 (diff) |
Correct ModDesc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11683 e03df62e-2008-0410-955e-edbf42e46eb7
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) |