summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-27 08:16:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-27 08:16:50 +0000
commit35f840bd60dc409cd682135833c553f724f980f0 (patch)
tree4b935fb9a7744f92454e2ccf078a5c3aaa8e67c2 /src
parentd222436f5904f8d3716860e173db8351e200a8f3 (diff)
Tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5351 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}