Fix #2514 (add a /toggle command)