]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Another query fix.
authorGunnar Beutner <redacted>
Sun, 16 Jun 2013 13:19:48 +0000 (15:19 +0200)
committerGunnar Beutner <redacted>
Sun, 16 Jun 2013 13:19:48 +0000 (15:19 +0200)
--HG--
branch : shroudtrusts

trusts/trusts_db.c

index 5fc54a0378124973bb42dfa6a57ed07b8a0ae09f..3dc97557b0e862d189d0d260b3008c244ec51bff 100644 (file)
@@ -311,7 +311,7 @@ trustgroup *tg_new(trustgroup *itg) {
 void trustsdb_insertth(char *table, trusthost *th, unsigned int groupid) {
   trustsdb->squery(trustsdb,
     "INSERT INTO ? (id, groupid, host, maxusage, created, lastseen) VALUES (?, ?, ?, ?, ?, ?)",
-    "Tuusut", table, th->id, groupid, trusts_cidr2str(th->ip, th->mask), th->maxusage, th->created, th->lastseen
+    "Tuusuut", table, th->id, groupid, trusts_cidr2str(th->ip, th->mask), th->maxusage, th->created, th->lastseen
   );
 }