# HG changeset patch # User Matthew Wild # Date 1272575495 -3600 # Node ID 59129c1e4e07bc24586fd890af25eac90dce33a4 # Parent b0fec41e695b349828220df886403f4c7920d5c2 plugins.version: Friendly message for feature-not-implemented diff -r b0fec41e695b -r 59129c1e4e07 plugins/version.lua --- 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