Noop AWAY commands as a quick `fix' to avoid crashes

Not sure what's actually going wrong here.

See: <https://github.com/moparisthebest/xmpp-ircd/issues/2>
This commit is contained in:
Joshua Judson Rosen 2021-05-25 01:47:08 -04:00
parent 3d5628aead
commit 126d1a414c
1 changed files with 4 additions and 0 deletions

View File

@ -1530,6 +1530,10 @@ class ClientThread(Thread):
self.xmppCommandGETWHOIS(jid) self.xmppCommandGETWHOIS(jid)
elif command == 'AWAY': elif command == 'AWAY':
# FIXME <https://github.com/moparisthebest/xmpp-ircd/issues/2>
self.printError('AWAY command ignored to avoid crashing (FIXME): %s' % data)
return
arguments = arguments[1:] # remove the : arguments = arguments[1:] # remove the :
show = '' show = ''
if arguments != '': if arguments != '':