OperUp: use ircmsgs.mode
OperUp: document the functions too!