Setting an invalid mode will now be properly logged.
Authored by: keess 2003-10-02
Parent: [r756]
Child: [r758]