Mercurial > hg
changeset 2067:79659eb4f66f
Rename 'iq_version_hide_time' to 'iq_time_hide'
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 28 Apr 2013 11:27:00 +0200 |
parents | 69699ba3010f |
children | b6d3ed81185e |
files | mcabber/mcabber/xmpp_iq.c mcabber/mcabberrc.example |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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; }
--- 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