log.chans is the very first line so that the channel list can be altered more easily.
I altered that wait notification so that it won't allow users to flood it off as easily:
Code:
if ($($+(%,last.,$nick,.,$chan),2)) {
if ($v1 == 1) msg $nick You must wait before requesting another log for $chan
set $+(%,last.,$nick,.,$chan) 2
return
}