[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Temp patch for the nasty bug



This is a (temporary) patch for the bug syrk announced few days ago.

pht
diff -ru irc2.10.3a4-old/iauth/mod_rfc931.c irc2.10.3a4/iauth/mod_rfc931.c
--- irc2.10.3a4-old/iauth/mod_rfc931.c	Thu Mar 11 20:53:20 1999
+++ irc2.10.3a4/iauth/mod_rfc931.c	Sun May 23 01:18:16 1999
@@ -262,7 +262,7 @@
 						    isspace(*chk))
 							break;
 					if (*chk)
-						other = 1;
+					        *chk = 0;
 					if (cldata[cl].authuser)
 						free(cldata[cl].authuser);
 					cldata[cl].authuser = mystrdup(ch);