I just wanted to point out that to be able to ban oped users can be a bad idea. And i used $chan since i always done it that way.