mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-23 13:22:17 +03:00
logout event set
This commit is contained in:
parent
ca6ccd2eb6
commit
db4774607c
1 changed files with 5 additions and 1 deletions
|
@ -47,7 +47,11 @@ class Commander(object):
|
|||
if len(params) == 6:
|
||||
data['ip'] = params[5]
|
||||
|
||||
|
||||
elif len(params) == 3 and params[1] == 'logout':
|
||||
print('{0} logging out'.format(str(params[2])))
|
||||
data['event'] = params[1]
|
||||
data['username'] = params[2]
|
||||
|
||||
elif len(params) == 4 and params[1] == 'logout':
|
||||
print('{0} logging out'.format(str(params[2])))
|
||||
data['event'] = params[1]
|
||||
|
|
Loading…
Reference in a new issue