SReject / JSON-For-Mirc

JSON parser for mIRC
19 stars 6 forks source link

Better handle this line #25

Closed westor7 closed 7 years ago

westor7 commented 7 years ago

I am not sure if this is correct but probably is mistake so i open an issue just in case.

Check: https://github.com/SReject/JSON-For-Mirc/blob/master/src/JSON%20For%20mIRC.mrc#L446

It should be:

if ($0 === 0) || (%Switches != $null && $0 < 2) { %Error = PARAMETER_MISSING }