3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-11 12:42:34 +01:00

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

This reverts commit e2a853c98e.
This commit is contained in:
James Lu 2017-01-21 11:59:18 -08:00
parent 3dd35ba5a1
commit 170738ee10

View File

@ -14,7 +14,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
error = modebot.error