logic fix

This commit is contained in:
Nikos Kouremenos 2005-09-11 17:06:37 +00:00
parent 43aef76dd9
commit f8c317262b

View file

@ -78,7 +78,7 @@ def get_nick_from_jid(jid):
return jid[:pos]
def get_server_from_jid(jid):
pos = jid.find('@')
pos = jid.find('@') + 1 # after @
return jid[pos:]
def get_nick_from_fjid(jid):