summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-22 11:27:09 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-22 11:27:09 +0000
commit1d19420ce5b29ac2816ac3cccb229b0fa9d36243 (patch)
treed213e028c27f0644c4d76e25d0221eb2d9730a5d /src/modules/extra
parent56e74d495ce25d15a769c2c271bf2cad45d7a587 (diff)
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')
-rw-r--r--src/modules/extra/m_testclient.cpp2
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());