summaryrefslogtreecommitdiff
path: root/src/scripting.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-09-05 19:33:56 +0200
committerantirez <antirez@gmail.com>2018-09-05 19:33:56 +0200
commit7895835df6aeb2a2d499bc499ae6cb340228908f (patch)
tree96a0aad726b5467c305b3b801b0d44b78210eda8 /src/scripting.c
parent7e11825ef4467ccc64f961761ea050a3df4853ba (diff)
downloadredis-7895835df6aeb2a2d499bc499ae6cb340228908f.tar.gz
Use commands (effects) replication by default in scripts.
See issue #5250 and issue #5292 for more info.
Diffstat (limited to 'src/scripting.c')
-rw-r--r--src/scripting.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/scripting.c b/src/scripting.c
index 43f8d09a5..acea551ea 100644
--- a/src/scripting.c
+++ b/src/scripting.c
@@ -917,7 +917,6 @@ void scriptingInit(int setup) {
server.lua_client = NULL;
server.lua_caller = NULL;
server.lua_timedout = 0;
- server.lua_always_replicate_commands = 0; /* Only DEBUG can change it.*/
ldbInit();
}