mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
service_support: raise KILLs to service bots to INFO
This commit is contained in:
parent
79d66ad94d
commit
3eb2c6bbf7
@ -113,7 +113,8 @@ def handle_kill(irc, source, command, args):
|
|||||||
elif sbot: # Or their service bot instance
|
elif sbot: # Or their service bot instance
|
||||||
servicename = sbot.name
|
servicename = sbot.name
|
||||||
if servicename:
|
if servicename:
|
||||||
log.debug('(%s) services_support: respawning service %s after KILL.', irc.name, servicename)
|
log.info('(%s) Received kill to service %s (%s) from %s.', irc.name, servicename,
|
||||||
|
userdata.nick if userdata else irc.users[target].nick, irc.get_hostmask(source))
|
||||||
spawn_service(irc, source, command, {'name': servicename})
|
spawn_service(irc, source, command, {'name': servicename})
|
||||||
|
|
||||||
utils.add_hook(handle_kill, 'KILL')
|
utils.add_hook(handle_kill, 'KILL')
|
||||||
|
Loading…
Reference in New Issue
Block a user