# HG changeset patch # User Mikael Berthe # Date 1367141220 -7200 # Node ID 79659eb4f66f3ef5180d59ea925a5534bd3e716d # Parent 69699ba3010f96bc648134074112c882b732b033 Rename 'iq_version_hide_time' to 'iq_time_hide' diff -r 69699ba3010f -r 79659eb4f66f mcabber/mcabber/xmpp_iq.c --- a/mcabber/mcabber/xmpp_iq.c Sun Apr 28 11:25:13 2013 +0200 +++ b/mcabber/mcabber/xmpp_iq.c Sun Apr 28 11:27:00 2013 +0200 @@ -760,7 +760,7 @@ lm_message_get_from(m)); } - if (settings_opt_get_int("iq_version_hide_time")) { + if (settings_opt_get_int("iq_time_hide")) { send_iq_error(c, m, XMPP_ERROR_SERVICE_UNAVAILABLE); return LM_HANDLER_RESULT_REMOVE_MESSAGE; } @@ -815,7 +815,7 @@ lm_message_get_from(m)); } - if (settings_opt_get_int("iq_version_hide_time")) { + if (settings_opt_get_int("iq_time_hide")) { send_iq_error(c, m, XMPP_ERROR_SERVICE_UNAVAILABLE); return LM_HANDLER_RESULT_REMOVE_MESSAGE; } diff -r 69699ba3010f -r 79659eb4f66f mcabber/mcabberrc.example --- a/mcabber/mcabberrc.example Sun Apr 28 11:25:13 2013 +0200 +++ b/mcabber/mcabberrc.example Sun Apr 28 11:27:00 2013 +0200 @@ -190,9 +190,9 @@ # retrieve your mcabber version. #set iq_version_hide_version = 0 # -# Set iq_version_hide_time to 1 if you do not want to allow people to retrieve +# Set iq_time_hide to 1 if you do not want to allow people to retrieve # your OS time. -#set iq_version_hide_time = 0 +#set iq_time_hide = 0 # # Set iq_last_disable to 1 if you want to disable response to jabber:iq:last # queries (XEP-0012). Set iq_last_disable_when_notavail to 1 if you want