summaryrefslogtreecommitdiff
path: root/src/t_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/t_set.c')
-rw-r--r--src/t_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_set.c b/src/t_set.c
index b56b38238..197cabcd9 100644
--- a/src/t_set.c
+++ b/src/t_set.c
@@ -885,7 +885,7 @@ void spopWithCountCommand(client *c) {
setTypeReleaseIterator(si);
/* Assign the new set as the key value. */
- dbOverwrite(c->db,c->argv[1],newset);
+ dbReplaceValue(c->db,c->argv[1],newset);
}
/* Don't propagate the command itself even if we incremented the