aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-08-02 18:46:13 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-08-02 18:46:13 +0500
commit714eb9da1b5b5018aa31274d4e65e03a61d40cdc (patch)
tree7314d08e0d811b2092161ee307868f1a01d06019
parent3d402d422efb63f4261fe3843eecc8e95b4eca25 (diff)
downloadprosody-714eb9da1b5b5018aa31274d4e65e03a61d40cdc.tar.gz
prosody-714eb9da1b5b5018aa31274d4e65e03a61d40cdc.zip
util.sasl_cyrus: Removed method:forbidden().
-rw-r--r--util/sasl_cyrus.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua
index f5bfcbe9..834dbf5c 100644
--- a/util/sasl_cyrus.lua
+++ b/util/sasl_cyrus.lua
@@ -116,17 +116,11 @@ function new(realm, service_name, app_name)
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;