diff options
| author | 2007-03-24 18:50:40 +0000 | |
|---|---|---|
| committer | 2007-03-24 18:50:40 +0000 | |
| commit | 922069afab3804acdd53b5daeef35e6a603d43b2 (patch) | |
| tree | 5d5942043e20bf370e277f293f33db0124e4bea1 /src/users.cpp | |
| parent | m_showwhois now sends a message for remote whois as well (diff) | |
| download | inspircd++-922069afab3804acdd53b5daeef35e6a603d43b2.tar.gz inspircd++-922069afab3804acdd53b5daeef35e6a603d43b2.tar.bz2 inspircd++-922069afab3804acdd53b5daeef35e6a603d43b2.zip | |
Fix two things: (1) log gets replaced by a user fd after restart causing debug log to go to a user's status window (!)
(2) restart failing due to segfault within libc (this is because some moron decided that stdin, stdout, and stderr should still be non-null if the files arent actually open!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6707 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 48260bd1f..11d1cf130 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -417,6 +417,7 @@ char* userrec::MakeHostIP() void userrec::CloseSocket() { + ServerInstance->Log(DEBUG,"Close user socket %d", this->fd); shutdown(this->fd,2); close(this->fd); } |
