Bug #4004
closed$modes doesn't return the correct channel modes order on windows titlebar
0%
Description
Hello,
There is a bug, when i use $modes identifier to view the channel modes of the channel window in titlebar the order seems to be incorrect.
Options sets value:
$channel [$modes] - OPs: $ops - HalfOPS: $halfops - Voices: $voice - Normal: $normal - Total Users: $users
Options sets image:
Titlebar while target is a channel window:
The [$modes] should return [+ntrCTj 3:5] instead of [+CjnrtT 3:5]
- Thanks!
Updated by Per Amundsen over 6 years ago
The order is correctly sorted same as $chan(#).mode.
Edit. Also same as Menubar -> Window.
Updated by westor (GR) over 6 years ago
For some reasons $chan($chan).mode doesn't return the correct channel modes as /mode #chan returns, but this seems to be the same action and on mIRC that is strange. i will do a research about why this is happening, it should return +ntrCTj 3:5 on $chan($chan).mode .
Updated by Per Amundsen over 6 years ago
It returns the correct result in both clients, it's sorted alphabetically.
/mode #chan probably returns in the order the modes was set.