mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-17 14:01:03 +01:00
relay: actually, just kill handle_spawnmain
this is causing more problems than it is worth
This commit is contained in:
parent
b2b04c8e75
commit
aedb05608e
@ -1124,13 +1124,6 @@ def handle_away(irc, numeric, command, args):
|
|||||||
remoteirc.proto.away(user, args['text'])
|
remoteirc.proto.away(user, args['text'])
|
||||||
utils.add_hook(handle_away, 'AWAY')
|
utils.add_hook(handle_away, 'AWAY')
|
||||||
|
|
||||||
def handle_spawnmain(irc, numeric, command, args):
|
|
||||||
if args['olduser'] and irc.connected.is_set():
|
|
||||||
# Kills to the main PyLink client force reinitialization; this makes sure
|
|
||||||
# it joins all the relay channels like it's supposed to.
|
|
||||||
initializeAll(irc)
|
|
||||||
utils.add_hook(handle_spawnmain, 'PYLINK_SPAWNMAIN')
|
|
||||||
|
|
||||||
def handle_invite(irc, source, command, args):
|
def handle_invite(irc, source, command, args):
|
||||||
target = args['target']
|
target = args['target']
|
||||||
channel = args['channel']
|
channel = args['channel']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user