mIRC Home    About    Download    Register    News    Help

Print Thread
Stored mode value(s) getting overwritten #266346 19/11/19 07:34 PM
Joined: Dec 2015
Posts: 125
Dazuz Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Dec 2015
Posts: 125
Easier just to show an example than attempt to explain it:
Quote
21:21:02 * mIRCBugTest sets mode: +kl BugTest 123
21:21:11 * mIRCBugTest sets mode: +j 3:60
21:21:27 * Current modes: +nslkj 123 BugTest 3:60
21:21:31 * mIRCBugTest sets mode: +k BugTest
21:21:33 * Current modes: +nslkj 123 BugTest BugTest

Note that setting +k again overwrote the +j value. Doing //mode # restores the correct values to $chan(#).mode.

To reproduce the bug (Freenode):
Code
//mode # +kl BugTest 123
//mode # +j 3:60
//echo -at * Current modes: $chan(#).mode
//mode # +k BugTest
//echo -at * Current modes: $chan(#).mode



Last edited by Dazuz; 19/11/19 07:36 PM.
Re: Stored mode value(s) getting overwritten [Re: Dazuz] #266360 22/11/19 01:55 PM
Joined: Dec 2002
Posts: 4,586
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,586
Thanks this issue has been fixed for the next beta.