summaryrefslogtreecommitdiff
path: root/src/modules/m_deaf.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 10:09:21 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 10:09:21 +0000
commitf27e18aafc1bb0247200f6dcdd957f09772ee093 (patch)
tree26c180832bff8931b04ef18d9c8fac1d764e08af /src/modules/m_deaf.cpp
parentdf502255c15842fe94ee514f2f1d599b524981b8 (diff)
Add warning notice to m_deaf, as setting it will make new users pretty confused :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6944 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_deaf.cpp')
-rw-r--r--src/modules/m_deaf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp
index 2278479cc..8c413651f 100644
--- a/src/modules/m_deaf.cpp
+++ b/src/modules/m_deaf.cpp
@@ -31,6 +31,7 @@ class User_d : public ModeHandler
{
if (!dest->IsModeSet('d'))
{
+ dest->WriteServ("NOTICE %s :*** You have enabled usermode +d, deaf mode. This mode means you WILL NOT recieve any messages from any channels you are in. If you did NOT mean to do this, use /mode %s -d.", dest->nick, dest->nick);
dest->SetMode('d',true);
return MODEACTION_ALLOW;
}