mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-10 01:52:25 +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:
|
||||
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])))
|
||||
|
|
Loading…
Reference in a new issue