Can this be changed so that it waits for a raw 324/329 before resending the mode #channel on op? If the server hides the key for +k channels, I assume mIRC does not resend mode #channel if the channel is -k. Either way mIRC should receive a raw 324/329 when requesting a mode #channel, so this should be an easy check?

IE wait for the raw return before re-requesting mode #channel upon op, when you get it, if the channel is +k, re-request the mode to get the key...

On a final note... Dalnet doesn't hide the channel key to non-ops, so maybe the second mode could be 'disabled' altogether on dalnet networks?

And as for landonsandor...

I /who # on join too, and that's how I noticed this... but either way, sometimes it's not the /who that does it, often times it's a join lag from joining several channels at once on a connect to a server...

Code:
[09:19pm] <- :routed!hmm@dialup-4.235.153.142.Dial1.Orlando1.Level3.net JOIN :#xxxxxxxxxx
[09:19pm] -> swiftco.wa.us.dal.net MODE #xxxxxxxxxx
[09:19pm] <- :swiftco.wa.us.dal.net 332 routed #xxxxxxxxxx :"You're a high priced lawyer, if I give you $500, will you answer two questions for me?" "ABSOLUTELY! What's the second question?"
[09:19pm] <- :swiftco.wa.us.dal.net 333 routed #xxxxxxxxxx CreQ 1160608090
[09:19pm] <- :swiftco.wa.us.dal.net 353 routed @ #xxxxxxxxxx :routed @evulish @bugz m0dule @CreQ @proxie @malady WD_40 @plastick @Unimatrix0 fearphage WD-Laptop @NiMH @Pack_Man @myndzi @ComputerEyes @im_a_robot 
[09:19pm] <- :swiftco.wa.us.dal.net 366 routed #xxxxxxxxxx :End of /NAMES list.
[09:19pm] <- :ChanServ!service@dal.net MODE #xxxxxxxxxx +o routed
[09:19pm] -> swiftco.wa.us.dal.net MODE #xxxxxxxxxx
[09:19pm] <- :swiftco.wa.us.dal.net PONG swiftco.wa.us.dal.net :FLOODCHECK
[09:19pm] -> swiftco.wa.us.dal.net PING :FLOODCHECK
[09:19pm] <- :swiftco.wa.us.dal.net 324 routed #xxxxxxxxxx +stn 
[09:19pm] <- :swiftco.wa.us.dal.net 329 routed #xxxxxxxxxx 1071697501
[09:19pm] <- :swiftco.wa.us.dal.net 324 routed #xxxxxxxxxx +stn 
[09:19pm] <- :swiftco.wa.us.dal.net 329 routed #xxxxxxxxxx 1071697501
[09:19pm] <- :swiftco.wa.us.dal.net PONG swiftco.wa.us.dal.net :FLOODCHECK
[09:19pm] -> swiftco.wa.us.dal.net WHO #xxxxxxxxxx


-Rappy (routed)