diff options
| author | 2006-03-09 20:16:43 +0000 | |
|---|---|---|
| committer | 2006-03-09 20:16:43 +0000 | |
| commit | 0cf08426b2ff53d6fc1ca8125a57c79d87070b7b (patch) | |
| tree | 36e30bdb829460fa63c9875e60b9d988b60d0747 /src/userprocess.cpp | |
| parent | Tidyup to pass some stuff by reference (much faster, no copy involved) (diff) | |
Speedups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
| -rw-r--r-- | src/userprocess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 30f7d49f8..0c72a53b5 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -404,7 +404,7 @@ void DoBackgroundUserStuff(time_t TIME) */ curr->FlushWriteBuf(); - if (curr->GetWriteError() != "") + if (*curr->GetWriteError()) { GlobalGoners.AddItem(curr,curr->GetWriteError()); continue; |
