mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 11:39:25 +01:00
pr/insp: map FIDENT/FHOST/FNAME hooks to their CHG* counterparts
This commit is contained in:
parent
643218efce
commit
f9d82153bb
@ -17,7 +17,8 @@ from classes import *
|
||||
# XXX figure out a way to not force-map ENCAP to KNOCK, since other commands are sent
|
||||
# through it too.
|
||||
hook_map = {'FJOIN': 'JOIN', 'RSQUIT': 'SQUIT', 'FMODE': 'MODE',
|
||||
'FTOPIC': 'TOPIC', 'ENCAP': 'KNOCK', 'OPERTYPE': 'MODE'}
|
||||
'FTOPIC': 'TOPIC', 'ENCAP': 'KNOCK', 'OPERTYPE': 'MODE',
|
||||
'FHOST': 'CHGHOST', 'FIDENT': 'CHGIDENT', 'FNAME': 'CHGNAME'}
|
||||
|
||||
def _send(irc, sid, msg):
|
||||
irc.send(':%s %s' % (sid, msg))
|
||||
|
Loading…
Reference in New Issue
Block a user