--- 64/parse.c	Thu Jan  8 07:34:10 2004
+++ 65/parse.c	Sun Jul  4 13:58:58 2004
@@ -816,7 +816,7 @@
 			return;
 		}
 		strncpy(userhost, prefix + tpos, USERHOSTLEN);
-                if((this = getchptr(channel)) == NULL) {
+                if((this = getchptr(params)) == NULL) {
                         return;
                 }
 		if(isme(temp_nick)) {
