mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 01:31:21 +00:00
Modules: first preview 31 March 2016.
This commit is contained in:
@ -158,7 +158,7 @@ client *createClient(int fd) {
|
||||
int prepareClientToWrite(client *c) {
|
||||
/* If it's the Lua client we always return ok without installing any
|
||||
* handler since there is no socket at all. */
|
||||
if (c->flags & CLIENT_LUA) return C_OK;
|
||||
if (c->flags & (CLIENT_LUA|CLIENT_MODULE)) return C_OK;
|
||||
|
||||
/* CLIENT REPLY OFF / SKIP handling: don't send replies. */
|
||||
if (c->flags & (CLIENT_REPLY_OFF|CLIENT_REPLY_SKIP)) return C_ERR;
|
||||
|
Reference in New Issue
Block a user