summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-02 22:57:52 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-02 22:57:52 +0000
commit80959555778404b7f0cdd4bd171ea7e1fe6116e9 (patch)
tree0f73fc8be96bf573046129c92477f451e1d178ba /src
parenteb7a2a9ea631b9a4d31709d6a36a5d70d3770d27 (diff)
Fix brain's compile error :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9282 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
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);