From 35f840bd60dc409cd682135833c553f724f980f0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 27 Sep 2006 08:16:50 +0000 Subject: Tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5351 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/users.cpp b/src/users.cpp index c15a3331b..8bde9ea53 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -89,7 +89,7 @@ std::string userrec::ProcessNoticeMasks(const char *sm) { bool adding = true, oldadding = false; const char *c = sm; - std::string output = ""; + std::string output; ServerInstance->Log(DEBUG,"Process notice masks"); @@ -367,7 +367,7 @@ char* userrec::MakeWildHost() int userrec::ReadData(void* buffer, size_t size) { - if (this->fd > -1) + if (IS_LOCAL(this)) { return read(this->fd, buffer, size); } -- cgit v1.2.3