Browse Source

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>
master
Joshua Judson Rosen 3 weeks ago
parent
commit
126d1a414c
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      xmpp-ircd.py

+ 4
- 0
xmpp-ircd.py View File

@ -1530,6 +1530,10 @@ class ClientThread(Thread):
self.xmppCommandGETWHOIS(jid)
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 :
show = ''
if arguments != '':


Loading…
Cancel
Save