summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_testclient.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-24 18:45:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-24 18:45:17 +0000
commit475f5579b5674a1b14d051bbd5d4400dd811e085 (patch)
tree669f3eacaa1597ff4f41eff1d40ef9c694ef6e51 /src/modules/extra/m_testclient.cpp
parent56123af167d744f4553ea1caa3ca4a1ec5eef0a3 (diff)
Remove variadic macros from sqlv2 api, removing the warnings that come with it and increasing compatibility
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8353 e03df62e-2008-0410-955e-edbf42e46eb7
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())
{