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:
parent
795c163a69
commit
d3ca49ceeb
@ -13,7 +13,7 @@ mydesc = ("The \x02Automode\x02 plugin provides simple channel ACL management by
|
|||||||
"to users matching hostmasks or exttargets.")
|
"to users matching hostmasks or exttargets.")
|
||||||
|
|
||||||
# Register ourselves as a service.
|
# Register ourselves as a service.
|
||||||
modebot = world.services.get("automode", utils.registerService("automode", desc=mydesc))
|
modebot = utils.registerService("automode", desc=mydesc)
|
||||||
reply = modebot.reply
|
reply = modebot.reply
|
||||||
|
|
||||||
# Databasing variables.
|
# Databasing variables.
|
||||||
|
Loading…
Reference in New Issue
Block a user