mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +01:00
services_support: remove workarounds for the PyLink service nick & ident being in conf::bot (#343)
This commit is contained in:
parent
dc298b3182
commit
fb626c8a97
@ -120,11 +120,7 @@ def handle_commands(irc, source, command, args):
|
||||
utils.add_hook(handle_commands, 'PRIVMSG')
|
||||
|
||||
# Register the main PyLink service. All command definitions MUST go after this!
|
||||
mynick = conf.conf['bot'].get("nick", "PyLink")
|
||||
myident = conf.conf['bot'].get("ident", "pylink")
|
||||
|
||||
# TODO: be more specific, and possibly allow plugins to modify this to mention
|
||||
# their features?
|
||||
mydesc = "\x02%s\x02 provides extended network services for IRC." % mynick
|
||||
|
||||
utils.registerService('pylink', nick=mynick, ident=myident, desc=mydesc, manipulatable=True)
|
||||
mydesc = "\x02PyLink\x02 provides extended network services for IRC."
|
||||
utils.registerService('pylink', desc=mydesc, manipulatable=True)
|
||||
|
Loading…
Reference in New Issue
Block a user