3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

Revert "automode: bandaid fix for "service already registered" errors on first load"

This reverts commit 3b62d0af3e.
This commit is contained in:
James Lu 2016-07-23 21:56:08 -07:00
parent 795c163a69
commit d3ca49ceeb

View File

@ -13,7 +13,7 @@ mydesc = ("The \x02Automode\x02 plugin provides simple channel ACL management by
"to users matching hostmasks or exttargets.")
# Register ourselves as a service.
modebot = world.services.get("automode", utils.registerService("automode", desc=mydesc))
modebot = utils.registerService("automode", desc=mydesc)
reply = modebot.reply
# Databasing variables.