diff options
| author | 2006-07-20 16:52:08 +0000 | |
|---|---|---|
| committer | 2006-07-20 16:52:08 +0000 | |
| commit | dcd533e8e6a81ef787939001a085932319db7785 (patch) | |
| tree | b14035b20ca1fa64b7a7b4d1f37aadc4009ad6ea /src/users.cpp | |
| parent | Make threaded dns stable by placing some mutexes around some stl stuff (this ... (diff) | |
| download | inspircd++-dcd533e8e6a81ef787939001a085932319db7785.tar.gz inspircd++-dcd533e8e6a81ef787939001a085932319db7785.tar.bz2 inspircd++-dcd533e8e6a81ef787939001a085932319db7785.zip | |
Move a confusing debug message within its conditional
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4461 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 689ed3bf4..118d9cdcf 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -517,10 +517,12 @@ void userrec::FlushWriteBuf() void userrec::SetWriteError(const std::string &error) { - log(DEBUG,"Setting error string for %s to '%s'",this->nick,error.c_str()); // don't try to set the error twice, its already set take the first string. if (!this->WriteError.length()) + { + log(DEBUG,"Setting error string for %s to '%s'",this->nick,error.c_str()); this->WriteError = error; + } } const char* userrec::GetWriteError() |
