mirror of
https://github.com/fluencelabs/redis
synced 2025-06-20 04:26:31 +00:00
Module hooks: fixes and an example module.
This commit is contained in:
@ -5769,6 +5769,7 @@ void moduleFireServerEvent(uint64_t eid, int subid, void *data) {
|
||||
if (eid == REDISMODULE_EVENT_CLIENT_CHANGE) {
|
||||
modulePopulateClientInfoStructure(&civ1,data,
|
||||
el->event.dataver);
|
||||
moduledata = &civ1;
|
||||
}
|
||||
el->callback(&ctx,el->event,subid,moduledata);
|
||||
moduleFreeContext(&ctx);
|
||||
|
Reference in New Issue
Block a user