diff options
| author | 2025-01-17 13:43:05 +0000 | |
|---|---|---|
| committer | 2025-01-17 13:57:32 +0000 | |
| commit | 7dbbc78421e3c5296d297190649ed58e4bcf052c (patch) | |
| tree | 30af3b95f473a4a9234763f642e717f3a25dab70 /modules/extra/pgsql.cpp | |
| parent | Move the starttls module to the contrib repository. (diff) | |
| parent | Run irctest on AArch64. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/extra/pgsql.cpp')
| -rw-r--r-- | modules/extra/pgsql.cpp | 4 |
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)); |
