From 1d19420ce5b29ac2816ac3cccb229b0fa9d36243 Mon Sep 17 00:00:00 2001 From: om Date: Sat, 22 Jul 2006 11:27:09 +0000 Subject: 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 --- src/modules/extra/m_testclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); -- cgit v1.2.3