Fix some bugs with commands from IRC