irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

MSGLEVEL_NOHILIGHT different from level2bits("NOHILIGHT") #803

Open irssibot opened 13 years ago

irssibot commented 13 years ago

MSGLEVEL_NOHILIGHT is 0x100000000 while level2bits("NOHILIGHT") is 0x20000000.

irssibot commented 13 years ago

The level utility functions don't take into account that the special levels (NOHILIGHT, NO_ACT, NEVER, LASTLOG) are not consecutive to the standard level values in the levels enum.