diff options
author | Hercules.ws <Hercules@efficiently.awesome> | 2014-01-14 02:54:42 +0100 |
---|---|---|
committer | HerculesWSAPI <Hercules@efficiently.awesome> | 2014-01-14 02:54:42 +0100 |
commit | 6caf7cafff77d77a017cc2f0797d1dd3f805aea6 (patch) | |
tree | 9cdfe0ccdc35e7dfd85fc3aba7940016a8e709de /src/plugins/HPMHooking/HPMHooking.Hooks.inc | |
parent | 18291e8b8834d74e5775baeb296104cfaebe9e54 (diff) | |
download | hercules-6caf7cafff77d77a017cc2f0797d1dd3f805aea6.tar.gz hercules-6caf7cafff77d77a017cc2f0797d1dd3f805aea6.tar.bz2 hercules-6caf7cafff77d77a017cc2f0797d1dd3f805aea6.tar.xz hercules-6caf7cafff77d77a017cc2f0797d1dd3f805aea6.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Hooks.inc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc index 2e4b62835..64194362c 100644 --- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc @@ -45007,32 +45007,6 @@ int HP_pcg_get_idx(GroupSettings *group) { } return retVal___; } -unsigned int HP_pcg_add_permission(const char *name) { - int hIndex = 0; - unsigned int retVal___ = 0; - if( HPMHooks.count.HP_pcg_add_permission_pre ) { - unsigned int (*preHookFunc) (const char *name); - for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_add_permission_pre; hIndex++ ) { - preHookFunc = HPMHooks.list.HP_pcg_add_permission_pre[hIndex].func; - retVal___ = preHookFunc(name); - } - if( *HPMforce_return ) { - *HPMforce_return = false; - return retVal___; - } - } - { - retVal___ = HPMHooks.source.pcg.add_permission(name); - } - if( HPMHooks.count.HP_pcg_add_permission_post ) { - unsigned int (*postHookFunc) (unsigned int retVal___, const char *name); - for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_add_permission_post; hIndex++ ) { - postHookFunc = HPMHooks.list.HP_pcg_add_permission_post[hIndex].func; - retVal___ = postHookFunc(retVal___, name); - } - } - return retVal___; -} /* pc */ void HP_pc_init(bool minimal) { int hIndex = 0; |