diff -r 8158e9eafff5 -r f569c1a28c60 core/concmd_cleaner.cpp --- a/core/concmd_cleaner.cpp Tue Oct 16 05:30:41 2007 +0000 +++ b/core/concmd_cleaner.cpp Tue Oct 16 05:58:45 2007 +0000 @@ -59,12 +59,12 @@ #if defined ORANGEBOX_BUILD void OnSourceModAllInitialized() { - SH_ADD_HOOK(ICvar, UnregisterConCommand, SH_NOATTRIB, SH_MEMBER(this, &ConCommandCleaner::UnlinkConCommandBase), false); + SH_ADD_HOOK_MEMFUNC(ICvar, UnregisterConCommand, icvar, this, &ConCommandCleaner::UnlinkConCommandBase, false); } void OnSourceModShutdown() { - SH_REMOVE_HOOK(ICvar, UnregisterConCommand, SH_NOATTRIB, SH_MEMBER(this, &ConCommandCleaner::UnlinkConCommandBase), false); + SH_REMOVE_HOOK_MEMFUNC(ICvar, UnregisterConCommand, icvar, this, &ConCommandCleaner::UnlinkConCommandBase, false); } #endif