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