core: importParams renamed to updateParams: it now updates the parameter instead of appending children if it find an existing one.
This commit is contained in:
parent
a96bbad148
commit
bd7f2d6e84
1 changed files with 15 additions and 10 deletions
|
|
@ -468,7 +468,7 @@ class XEP_0065(object):
|
|||
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"))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue