From e7bd9f9894b5f3de5a7aaaac0692821abd6283c5 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 8 Sep 2006 14:30:29 +0000 Subject: 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 --- src/modules/m_services.cpp | 2 +- src/modules/m_services_account.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') 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; } } -- cgit v1.2.3