Fixed leaving the room even when its name doesn't start with '#'