mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
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

Last edited by Wims; 21/09/13 04:26 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
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.


Link Copied to Clipboard