Fix a bug in the userlist buttons' `onclick` handler