Remove old debug print()s from admin.py
This commit is contained in:
parent
29d5ab9b56
commit
3e1a478f77
1 changed files with 0 additions and 2 deletions
|
@ -74,12 +74,10 @@ class Module(ModuleManager.BaseModule):
|
|||
"""
|
||||
id = event["server"].id
|
||||
if event["args"]:
|
||||
print("alias")
|
||||
alias = event["args"]
|
||||
id = self.bot.database.servers.get_by_alias(alias)
|
||||
if id == None:
|
||||
raise utils.EventError("Unknown server alias")
|
||||
print(id)
|
||||
server = self.bot.get_server_by_id(id)
|
||||
server.disconnect()
|
||||
self.bot.disconnect(server)
|
||||
|
|
Loading…
Reference in a new issue