Remove old debug print()s from admin.py

This commit is contained in:
jesopo 2019-05-22 08:49:00 +01:00
parent 29d5ab9b56
commit 3e1a478f77

View file

@ -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)