From 80959555778404b7f0cdd4bd171ea7e1fe6116e9 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 2 Apr 2008 22:57:52 +0000 Subject: Fix brain's compile error :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9282 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/users.cpp b/src/users.cpp index 95ae87f5d..956ed17c0 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -314,7 +314,7 @@ char* User::MakeHostIP() void User::CloseSocket() { - if (this > -1) + if (this->fd > -1) { ServerInstance->SE->Shutdown(this, 2); ServerInstance->SE->Close(this); -- cgit v1.2.3