diff src/plugins/plugin_xep_0065.py @ 1220:f91e7028e2c3

memory (params), tools (xml_tools), plugins, frontends: add "int" parameter type with "min" and "max" attributes
author souliane <souliane@mailoo.org>
date Fri, 03 Oct 2014 12:27:43 +0200
parents 96fb74a4714d
children 72f25d671368
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0065.py	Mon Sep 22 22:25:44 2014 +0200
+++ b/src/plugins/plugin_xep_0065.py	Fri Oct 03 12:27:43 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="string" />
+        <param name="Port" value="28915" type="int" min="80" max="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="string" />
+        <param name="Proxy port" value="" type="int" min="80" max="65535" />
     </category>
     </individual>
     </params>