diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 72b965741..adde759bf 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2395,7 +2395,7 @@ bool allowed_umode(char umode, char* sourcemodes,bool adding) return false; } -bool process_module_umode(char umode, userrec* source, userrec* dest, bool adding) +bool process_module_umode(char umode, userrec* source, void* dest, bool adding) { string_list p; p.clear(); @@ -2403,7 +2403,7 @@ bool process_module_umode(char umode, userrec* source, userrec* dest, bool addin { for (int i = 0; i <= MODCOUNT; i++) { - if (modules[i]->OnExtendedMode(source,(chanrec*)NULL,umode,MT_CLIENT,adding,p)) + if (modules[i]->OnExtendedMode(source,(void*)dest,umode,MT_CLIENT,adding,p)) { log(DEBUG,"Module claims umode %c",umode); return true; |