summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_testclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_testclient.cpp')
-rw-r--r--src/modules/extra/m_testclient.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp
index eb911bf49..e7c7c35bc 100644
--- a/src/modules/extra/m_testclient.cpp
+++ b/src/modules/extra/m_testclient.cpp
@@ -18,8 +18,6 @@
#include "configreader.h"
#include "m_sqlv2.h"
-/* $CompileFlags: -Wno-variadic-macros */
-
class ModuleTestClient : public Module
{
private:
@@ -47,7 +45,8 @@ public:
if(target)
{
- SQLrequest foo = SQLreq(this, target, "foo", "UPDATE rawr SET foo = '?' WHERE bar = 42", ConvToStr(time(NULL)));
+ SQLrequest foo = SQLrequest(this, target, "foo",
+ SQLquery("UPDATE rawr SET foo = '?' WHERE bar = 42") % time(NULL));
if(foo.Send())
{