mIRC Home    About    Download    Register    News    Help

Topic Options
#242925 - 21/09/13 04:11 PM Inconsistency with mode +l in the channel central
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3496
Loc: France
For some reasons, on unrealircd, when you send for example: //mode #channel +l 4294911110, the irc server replies with: <- :Ouims!~Wims@host MODE #channel +l -56186
The titlebar updates fine with that negative number, as well as $chan(#channel).mode, however, the channel central will display the original value used, 4294911110.
If you hit the ok button of the channel central in this situation, mIRC will send -> hades.de.eu.SwiftIRC.net MODE #channel +l 2147483647, that number looks familiar grin

Tested on 7.32


Edited by Wims (21/09/13 05:26 PM)
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top
#242984 - 28/09/13 01:41 PM Re: Inconsistency with mode +l in the channel central [Re: Wims]
Khaled Offline


Planetary brain

Registered: 04/12/02
Posts: 4420
Loc: London, UK
Thanks this issue has been fixed for the next version. The channel central dialog was processing the limit value as a number (which seemed reasonable) and was performing sanity checking on it to make sure a user entered a valid value/range. However, it should not have been doing this as the client has no idea what the server considers a valid value/range in this case. The next version of mIRC will treat the limit value as plain text and will show exactly what the server has provided.

The issue with the server, where an integer overflow is caused by the invalid value/range you sent, will need to be resolved on the server side.

Top