summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 14:30:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 14:30:29 +0000
commite7bd9f9894b5f3de5a7aaaac0692821abd6283c5 (patch)
tree51a5bb7f2548b2f4d7d5d5d31cba2d3e77ba79e3 /src
parent790ec31fb8fb3d9307df7a563d4c59901cede78e (diff)
Typo in mode handler doesnt let -M be removed!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5161 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_services.cpp2
-rw-r--r--src/modules/m_services_account.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index f652c0fc2..856a93b85 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -147,7 +147,7 @@ class Channel_M : public ModeHandler
{
if (channel->IsModeSet('M'))
{
- channel->SetMode('M',true);
+ channel->SetMode('M',false);
return MODEACTION_ALLOW;
}
}
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index fe87a2a6a..4b5ec5c86 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -99,7 +99,7 @@ class AChannel_M : public ModeHandler
{
if (channel->IsModeSet('M'))
{
- channel->SetMode('M',true);
+ channel->SetMode('M',false);
return MODEACTION_ALLOW;
}
}