mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
parent
21d03e7b69
commit
59f6c861e0
@ -1408,6 +1408,17 @@ def handle_save(irc, numeric, command, args):
|
||||
|
||||
utils.add_hook(handle_save, "SAVE")
|
||||
|
||||
def handle_svsnick(irc, numeric, command, args):
|
||||
"""
|
||||
Handles forced nick change attempts to relay clients, tagging their nick.
|
||||
"""
|
||||
target = args['target']
|
||||
|
||||
if isRelayClient(irc, target):
|
||||
nick_collide(irc, target)
|
||||
|
||||
utils.add_hook(handle_svsnick, "SVSNICK")
|
||||
|
||||
### PUBLIC COMMANDS
|
||||
|
||||
def create(irc, source, args):
|
||||
|
Loading…
Reference in New Issue
Block a user