diff options
Diffstat (limited to 'src/module.c')
-rw-r--r-- | src/module.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/module.c b/src/module.c index ba35bbabc..9bbd150c1 100644 --- a/src/module.c +++ b/src/module.c @@ -33,9 +33,6 @@ #include <dlfcn.h> #include <sys/wait.h> -#define REDISMODULE_CORE 1 -#include "redismodule.h" - /* -------------------------------------------------------------------------- * Private data structures used by the modules system. Those are data * structures that are never exposed to Redis Modules, if not as void @@ -5769,7 +5766,7 @@ void moduleFireServerEvent(uint64_t eid, int subid, void *data) { void *moduledata = NULL; struct moduleClientInfoV1 civ1; - if (eid == REDISMODULE_EVENT_ID_CLIENT_CHANGE) { + if (eid == REDISMODULE_EVENT_CLIENT_CHANGE) { modulePopulateClientInfoStructure(&civ1,data, el->event.dataver); } |