Mercurial > libervia-backend
diff src/plugins/plugin_xep_0065.py @ 662:4f747d7fde8c
core: importParams renamed to updateParams: it now updates the parameter instead of appending children if it find an existing one.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 31 Oct 2013 17:14:15 +0100 |
parents | 49587e170f53 |
children | 03744d9ebc13 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0065.py Tue Oct 15 23:10:31 2013 +0200 +++ b/src/plugins/plugin_xep_0065.py Thu Oct 31 17:14:15 2013 +0100 @@ -468,7 +468,7 @@ self.server_factory = Socks5ServerFactory(host, self.hash_sid_map, lambda sid, success, profile: self._killId(sid, success, profile=profile)) #parameters - host.memory.importParams(XEP_0065.params) + host.memory.updateParams(XEP_0065.params) host.memory.setDefault("IP", "File Transfer", self.getExternalIP) port = int(self.host.memory.getParamA("Port", "File Transfer"))