mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix compatibility issues between sqloper and postgres
This commit is contained in:
parent
23033e286f
commit
2533dc10f9
@ -6,8 +6,8 @@ CREATE TABLE ircd_opers (
|
||||
"host" text NOT NULL,
|
||||
"type" text NOT NULL,
|
||||
"fingerprint" text,
|
||||
"autologin" boolean NOT NULL DEFAULT 0,
|
||||
"active" boolean NOT NULL DEFAULT 1
|
||||
"autologin" smallint NOT NULL DEFAULT 0,
|
||||
"active" smallint NOT NULL DEFAULT 1
|
||||
);
|
||||
ALTER TABLE ONLY ircd_opers
|
||||
ADD CONSTRAINT ircd_opers_pkey PRIMARY KEY (id);
|
||||
|
@ -96,6 +96,7 @@ class OperQuery : public SQL::Query
|
||||
ifo->class_blocks.assign(tblk->second->class_blocks.begin(), tblk->second->class_blocks.end());
|
||||
oper_blocks[name] = ifo;
|
||||
my_blocks.push_back(name);
|
||||
row.clear();
|
||||
}
|
||||
|
||||
// If this was done as a result of /OPER and not a config read
|
||||
|
Loading…
x
Reference in New Issue
Block a user