diff options
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events.c b/src/events.c index 17c9903cc..9971da58c 100644 --- a/src/events.c +++ b/src/events.c @@ -512,12 +512,12 @@ int Module::AddEventHook(EvtHook *evh) return status; } -int Module::DelEventHandler(const char *name) +int Module::DelEventHandler(const char *sname) { EvtMessage *evm; int status; - evm = findEventHandler(EVENT, name); + evm = findEventHandler(EVENT, sname); if (!evm) { return MOD_ERR_NOEXIST; } @@ -529,12 +529,12 @@ int Module::DelEventHandler(const char *name) return status; } -int Module::DelEventHook(const char *name) +int Module::DelEventHook(const char *sname) { EvtHook *evh; int status; - evh = findEventHook(EVENTHOOKS, name); + evh = findEventHook(EVENTHOOKS, sname); if (!evh) { return MOD_ERR_NOEXIST; } |