diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-03-24 00:07:17 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-03-24 00:07:17 +0500 |
commit | b0e0c82d16c2b371508d7a4db4ff3b62341ccd5d (patch) | |
tree | 39e06e0ca2948da9368c58be273c3f390e8ebb24 /util/sasl | |
parent | b86dfc76886ca544aac1d702b329eaae4ce4128e (diff) | |
download | prosody-b0e0c82d16c2b371508d7a4db4ff3b62341ccd5d.tar.gz prosody-b0e0c82d16c2b371508d7a4db4ff3b62341ccd5d.zip |
util.sasl.digest-md5: Removed unnnecessary check (which included a nil global access).
Diffstat (limited to 'util/sasl')
-rw-r--r-- | util/sasl/digest-md5.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/util/sasl/digest-md5.lua b/util/sasl/digest-md5.lua index 5b8f5c8a..04acf04d 100644 --- a/util/sasl/digest-md5.lua +++ b/util/sasl/digest-md5.lua @@ -35,8 +35,6 @@ local function digest(self, message) local function serialize(message) local data = "" - if type(message) ~= "table" then error("serialize needs an argument of type table.") end - -- testing all possible values if message["realm"] then data = data..[[realm="]]..message.realm..[[",]] end if message["nonce"] then data = data..[[nonce="]]..message.nonce..[[",]] end |