send our local ip only once

This commit is contained in:
Yann Leboulanger 2007-09-16 17:28:51 +00:00
parent f9a7a5c373
commit 6667eb5e29
1 changed files with 10 additions and 11 deletions

View File

@ -203,7 +203,6 @@ class ConnectionBytestream:
ostreamhost.setAttr('port', unicode(port))
ostreamhost.setAttr('host', ft_host)
ostreamhost.setAttr('jid', sender)
for thehost in self.peerhost:
try:
thehost = self.peerhost[0]
streamhost = common.xmpp.Node(tag = 'streamhost') # My IP