Thu, 29 Apr 2010 22:11:35 +0100
plugins.version: Friendly message for feature-not-implemented
plugins/version.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/version.lua Fri Apr 09 21:01:12 2010 -0400 +++ b/plugins/version.lua Thu Apr 29 22:11:35 2010 +0100 @@ -34,8 +34,10 @@ local r = "There was an error requesting "..param.."'s version"; if condition == "service-unavailable" then r = param.." doesn't reply to version requests"; + elseif condition == "feature-not-implemented" then + r = param.." doesn't support feature requests"; elseif condition == "remote-server-not-found" then - r = param.." can't be reached via XMPP" + r = param.." can't be reached via XMPP"; elseif condition and not text then r = r..": "..condition; end