]> jfr.im git - irc/quakenet/newserv.git/commitdiff
a4stats: Change default privacy to '1' (presence required).
authorGunnar Beutner <redacted>
Sat, 26 Apr 2014 12:19:29 +0000 (14:19 +0200)
committerGunnar Beutner <redacted>
Sat, 26 Apr 2014 12:19:29 +0000 (14:19 +0200)
a4stats/a4stats_db.c

index 27641afe7130fd5db9dbe58358cb8258ad5ec001..a4d0b4ecf819107dfee678c3885ec3da601ef5f6 100644 (file)
@@ -28,7 +28,7 @@ static int a4stats_connectdb(void) {
   }
 
   a4statsdb->createtable(a4statsdb, NULL, NULL,
-    "CREATE TABLE ? (id SERIAL PRIMARY KEY, name VARCHAR(256) UNIQUE, timestamp INT DEFAULT 0, active INT DEFAULT 1, deleted INT DEFAULT 0, privacy INT DEFAULT 2, "
+    "CREATE TABLE ? (id SERIAL PRIMARY KEY, name VARCHAR(256) UNIQUE, timestamp INT DEFAULT 0, active INT DEFAULT 1, deleted INT DEFAULT 0, privacy INT DEFAULT 1, "
     "h0 INT DEFAULT 0, h1 INT DEFAULT 0, h2 INT DEFAULT 0, h3 INT DEFAULT 0, h4 INT DEFAULT 0, h5 INT DEFAULT 0, "
     "h6 INT DEFAULT 0, h7 INT DEFAULT 0, h8 INT DEFAULT 0, h9 INT DEFAULT 0, h10 INT DEFAULT 0, h11 INT DEFAULT 0, "
     "h12 INT DEFAULT 0, h13 INT DEFAULT 0, h14 INT DEFAULT 0, h15 INT DEFAULT 0, h16 INT DEFAULT 0, h17 INT DEFAULT 0, "