handle corrcetly node with more than 1 #. fixes #3445

This commit is contained in:
Yann Leboulanger 2007-09-18 21:09:50 +00:00
parent b2e1d9181a
commit aba1a22aa1
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ class ConnectionCaps(object):
if not contact: return
if not contact.caps_node: return # we didn't asked for that?
if not node.startswith(contact.caps_node+'#'): return
node, ext = node.split('#')
node, ext = node.split('#', 1)
if ext==contact.caps_ver: # this can be also version (like '0.9')
exts=None
else: