If it's just the +p mode that you're worried about, then this should work
Code:
on @*:mode:#thethirdchannel:{ .mode $chan -p+nt } 


For that matter if you wanted to ensure that the only modes set were nt then
Code:
on @*:mode:#thethirdchannel:{ .mode $chan -imklps+nt }