If it's just the +p mode that you're worried about, then this should work
on @*:mode:#thethirdchannel:{ .mode $chan -p+nt }
For that matter if you wanted to ensure that the only modes set were nt then
on @*:mode:#thethirdchannel:{ .mode $chan -imklps+nt }