diff --git a/plugins/automode.py b/plugins/automode.py index 5f1609d..e51e69e 100644 --- a/plugins/automode.py +++ b/plugins/automode.py @@ -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.