logic fix

This commit is contained in:
Nikos Kouremenos 2005-09-11 17:06:37 +00:00
parent 43aef76dd9
commit f8c317262b
1 changed files with 1 additions and 1 deletions

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):