mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +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'])
|
||||
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):
|
||||
target = args['target']
|
||||
channel = args['channel']
|
||||
|
Loading…
Reference in New Issue
Block a user