From 62ea718ea6d9f6403dc2e07ef7b680fbed33b1d9 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 6 Sep 2009 14:32:04 +0000 Subject: Correct ModDesc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11683 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_delaymsg.cpp | 4 ++-- 1 file 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 +/* $ModDesc: Provides channelmode +d , to deny messages to a channel until 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) -- cgit v1.2.3