diff src/plugins/plugin_xep_0065.py @ 1226:72f25d671368

memory (params): use more generic param attribute "constraint" instead of "min" and "max"
author souliane <souliane@mailoo.org>
date Mon, 06 Oct 2014 11:18:37 +0200
parents f91e7028e2c3
children 069ad98b360d
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0065.py	Sat Oct 04 10:26:10 2014 +0200
+++ b/src/plugins/plugin_xep_0065.py	Mon Oct 06 11:18:37 2014 +0200
@@ -444,14 +444,14 @@
     <general>
     <category name="File Transfer">
         <param name="IP" value='0.0.0.0' default_cb='yes' type="string" />
-        <param name="Port" value="28915" type="int" min="80" max="65535" />
+        <param name="Port" value="28915" type="int" constraint="1;65535" />
     </category>
     </general>
     <individual>
     <category name="File Transfer">
         <param name="Proxy" value="" type="string" />
         <param name="Proxy host" value="" type="string" />
-        <param name="Proxy port" value="" type="int" min="80" max="65535" />
+        <param name="Proxy port" value="" type="int" constraint="1;65535" />
     </category>
     </individual>
     </params>