diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-02 22:57:52 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-02 22:57:52 +0000 |
commit | 80959555778404b7f0cdd4bd171ea7e1fe6116e9 (patch) | |
tree | 0f73fc8be96bf573046129c92477f451e1d178ba | |
parent | eb7a2a9ea631b9a4d31709d6a36a5d70d3770d27 (diff) |
Fix brain's compile error :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9282 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/users.cpp | 2 |
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); |