diff options
| author | 2006-07-22 11:27:09 +0000 | |
|---|---|---|
| committer | 2006-07-22 11:27:09 +0000 | |
| commit | 1d19420ce5b29ac2816ac3cccb229b0fa9d36243 (patch) | |
| tree | d213e028c27f0644c4d76e25d0221eb2d9730a5d /src/modules/extra/m_testclient.cpp | |
| parent | Stop publishing MySQL feature - check for successful publishing of SQL feature (diff) | |
| download | inspircd++-1d19420ce5b29ac2816ac3cccb229b0fa9d36243.tar.gz inspircd++-1d19420ce5b29ac2816ac3cccb229b0fa9d36243.tar.bz2 inspircd++-1d19420ce5b29ac2816ac3cccb229b0fa9d36243.zip | |
Logic error, success is when the error ID *is* NO_ERROR :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4505 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_testclient.cpp')
| -rw-r--r-- | src/modules/extra/m_testclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp index a776fc490..d5f2fc0d6 100644 --- a/src/modules/extra/m_testclient.cpp +++ b/src/modules/extra/m_testclient.cpp @@ -56,7 +56,7 @@ public: SQLresult* res = (SQLresult*)request; - if (res->error.Id() != NO_ERROR) + if (res->error.Id() == NO_ERROR) { log(DEBUG, "Got result with %d rows and %d columns", res->Rows(), res->Cols()); |
