projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that clients can't access buffers belonging to other users
[quassel.git]
/
src
/
core
/
SQL
/
PostgreSQL
/
16
/
update_network.sql
diff --git
a/src/core/SQL/PostgreSQL/16/update_network.sql
b/src/core/SQL/PostgreSQL/16/update_network.sql
index
a000f61
..
d2dea84
100644
(file)
--- a/
src/core/SQL/PostgreSQL/16/update_network.sql
+++ b/
src/core/SQL/PostgreSQL/16/update_network.sql
@@
-17,4
+17,5
@@
rejoinchannels = :rejoinchannels,
usesasl = :usesasl,
saslaccount = :saslaccount,
saslpassword = :saslpassword
-WHERE networkid = :networkid
+WHERE userid = :userid AND networkid = :networkid
+