From a07fd592cba683025a07187e07e31e1d55fcd199 Mon Sep 17 00:00:00 2001 From: rburchell Date: Sat, 28 Feb 2009 00:50:04 +0000 Subject: Remove CSRestrictGetPass, it is unneeded with the introduction of opertypes. [Adam] git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2136 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_getpass.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/core') diff --git a/src/core/cs_getpass.c b/src/core/cs_getpass.c index 689342223..c26d4a349 100644 --- a/src/core/cs_getpass.c +++ b/src/core/cs_getpass.c @@ -55,11 +55,6 @@ class CommandCSGetPass : public Command notice_lang(s_ChanServ, u, CHAN_X_FORBIDDEN, chan); return MOD_CONT; } - if (CSRestrictGetPass && !is_services_root(u)) - { - notice_lang(s_ChanServ, u, PERMISSION_DENIED); - return MOD_CONT; - } if(!enc_decrypt(ci->founderpass, tmp_pass, PASSMAX - 1)==1) { notice_lang(s_ChanServ, u, CHAN_GETPASS_UNAVAILABLE); -- cgit