--- Unreal3.2/src/modules/m_quit.c	2006-01-06 14:53:41.000000000 -0500
+++ Unreal3.2/src/modules/m_quit.c.new	2011-03-06 17:10:55.000000000 -0600
@@ -107,6 +107,13 @@ DLLFUNC int  m_quit(aClient *cptr, aClie
 		Hook *tmphook;
 		if (STATIC_QUIT)
 			return exit_client(cptr, sptr, sptr, STATIC_QUIT);
+
+              /* Lets not let unregistered users spam us even without STATIC_QUIT
+                 * except opers. -katsklaw
+                 */
+                if (!IsAnOper(sptr) && !(sptr->umodes & UMODE_REGNICK))
+                        return exit_client(cptr, sptr, sptr, "Client Quit");
+
 		if (IsVirus(sptr))
 			return exit_client(cptr, sptr, sptr, "Client exited");
 
