Pass the correct value to _get_user

Fixes #379
This commit is contained in:
ZyX 2013-04-02 18:40:30 +04:00
parent fcc009a6f5
commit b47c2fae15
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ def user(pl, segment_info=None):
'''
global username
if username is False:
username = _get_user(pl)
username = _get_user(segment_info)
if username is None:
pl.warn('Failed to get username')
return None