plugins.version: Friendly message for feature-not-implemented

Thu, 29 Apr 2010 22:11:35 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 29 Apr 2010 22:11:35 +0100
changeset 7
59129c1e4e07
parent 6
b0fec41e695b
child 8
9663866ca475

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

mercurial