Index: libs/Wakka.class.php
===================================================================
--- libs/Wakka.class.php	(revision 1659)
+++ libs/Wakka.class.php	(working copy)
@@ -4193,7 +4193,7 @@
 					return ($this->registered) ? !$negate : $negate;
 				// aha! a user entry.
 				default:
-					if ($line == $user)
+					if ($line == $username)
 					{
 						return !$negate;
 					}
