# HG changeset patch # User Waqas Hussain # Date 1280756773 -18000 # Node ID 37b9b8e171b94b161d1b35e405ecc7e9cd2e628c # Parent 26751c62820727ed19d883e597c0e384c2f232c4 util.sasl_cyrus: Removed method:forbidden(). diff -r 26751c628207 -r 37b9b8e171b9 util/sasl_cyrus.lua --- a/util/sasl_cyrus.lua Mon Aug 02 18:44:08 2010 +0500 +++ b/util/sasl_cyrus.lua Mon Aug 02 18:46:13 2010 +0500 @@ -116,17 +116,11 @@ return s; end --- get a fresh clone with the same realm, profiles and forbidden mechanisms +-- get a fresh clone with the same realm and service name function method:clean_clone() return new(self.realm, self.service_name) end --- set the forbidden mechanisms -function method:forbidden( restrict ) - log("warn", "Called method:forbidden. NOT IMPLEMENTED.") - return {} -end - -- get a list of possible SASL mechanims to use function method:mechanisms() local mechanisms = self.mechs;