mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Remove redundant statement in config.c.
Thanks to @guybe7 for spotting the error in the original PR I merged.
This commit is contained in:
parent
0a146a8be4
commit
630638dcde
@ -671,8 +671,9 @@ void loadServerConfigFromString(char *config) {
|
||||
} else if (!strcasecmp(argv[0],"lua-time-limit") && argc == 2) {
|
||||
server.lua_time_limit = strtoll(argv[1],NULL,10);
|
||||
} else if (!strcasecmp(argv[0],"lua-replicate-commands") && argc == 2) {
|
||||
server.lua_always_replicate_commands = yesnotoi(argv[1]);
|
||||
if ((server.lua_always_replicate_commands = yesnotoi(argv[1])) == -1) {
|
||||
if ((server.lua_always_replicate_commands = yesnotoi(argv[1]))
|
||||
== -1)
|
||||
{
|
||||
err = "argument must be 'yes' or 'no'"; goto loaderr;
|
||||
}
|
||||
} else if (!strcasecmp(argv[0],"slowlog-log-slower-than") &&
|
||||
|
Loading…
Reference in New Issue
Block a user