INSERT INTO chanperm SET name='UPDOWN', level=1;

# remove the F_NODICE flag... we don't need it
INSERT IGNORE INTO chanlvl SELECT chanreg.chan, chanperm.id, 8 FROM chanperm, chanreg WHERE flags & 1024 AND chanperm.name='DICE';
UPDATE chanreg SET flags = flags & (~1024) WHERE (flags & 1024);
