aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extra/pgsql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/pgsql.cpp')
-rw-r--r--modules/extra/pgsql.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/extra/pgsql.cpp b/modules/extra/pgsql.cpp
index e4e656771..0512ab772 100644
--- a/modules/extra/pgsql.cpp
+++ b/modules/extra/pgsql.cpp
@@ -1,6 +1,7 @@
/*
* InspIRCd -- Internet Relay Chat Daemon
*
+ * Copyright (C) 2024 Larry Williamson <l422y@l422y.com>
* Copyright (C) 2015 Daniel Vassdal <shutter@canternet.org>
* Copyright (C) 2013, 2016-2017, 2019-2024 Sadie Powell <sadie@witchery.services>
* Copyright (C) 2012-2015 Attila Molnar <attilamolnar@hush.com>
@@ -177,7 +178,8 @@ public:
if (currentrow >= PQntuples(res))
return false;
int ncols = PQnfields(res);
-
+
+ result.clear();
for(int i = 0; i < ncols; i++)
{
result.push_back(GetValue(currentrow, i));