From c992372f80a3668ca3dd1b62ebe7b8284111bd0a Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 3 Jan 2006 18:26:25 +0000 Subject: Fixed to not crash on /PARK (still more to test) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2729 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/userprocess.cpp') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index ba4cc48bb..c4541c29a 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -81,6 +81,8 @@ extern chan_hash chanlist; void ProcessUser(userrec* cu) { int result = EAGAIN; + if (cu->fd == FD_MAGIC_NUMBER) + return; log(DEBUG,"Processing user with fd %d",cu->fd); if (Config->GetIOHook(cu->port)) { -- cgit v1.3.1-10-gc9f91