Moved files to subdirectory

This commit is contained in:
2022-09-06 12:50:09 +01:00
parent 2731713ede
commit 122fdca5db
83 changed files with 17 additions and 0 deletions

11
legacy/commands/logout.py Normal file
View File

@@ -0,0 +1,11 @@
class LogoutCommand:
def __init__(self, *args):
self.logout(*args)
def logout(self, addr, authed, data, obj, spl, success, failure, info, incUsage, length):
if authed:
obj.authed = False
success("Logged out")
return
else:
incUsage(None)