summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-10-20 12:55:50 -0400
committerJesusaves <cpntb1@ymail.com>2021-02-15 17:53:11 -0300
commit3b2b1e58acf068607f374773054986ce22642948 (patch)
treee2a2bb65260d8f1d61567834b5097bc57e51f43c /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
parentbddd44d04115dbf5adcfe68021cfc833d4830b28 (diff)
downloadhercules-3b2b1e58acf068607f374773054986ce22642948.tar.gz
hercules-3b2b1e58acf068607f374773054986ce22642948.tar.bz2
hercules-3b2b1e58acf068607f374773054986ce22642948.tar.xz
hercules-3b2b1e58acf068607f374773054986ce22642948.zip
add buildin_getguildinfo
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index c331d66a9..a93d1e42e 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -32824,11 +32824,11 @@ struct guild* HP_guild_search(int guild_id) {
}
return retVal___;
}
-struct guild* HP_guild_searchname(char *str) {
+struct guild* HP_guild_searchname(const char *str) {
int hIndex = 0;
struct guild* retVal___ = NULL;
if (HPMHooks.count.HP_guild_searchname_pre > 0) {
- struct guild* (*preHookFunc) (char **str);
+ struct guild* (*preHookFunc) (const char **str);
*HPMforce_return = false;
for (hIndex = 0; hIndex < HPMHooks.count.HP_guild_searchname_pre; hIndex++) {
preHookFunc = HPMHooks.list.HP_guild_searchname_pre[hIndex].func;
@@ -32843,7 +32843,7 @@ struct guild* HP_guild_searchname(char *str) {
retVal___ = HPMHooks.source.guild.searchname(str);
}
if (HPMHooks.count.HP_guild_searchname_post > 0) {
- struct guild* (*postHookFunc) (struct guild* retVal___, char *str);
+ struct guild* (*postHookFunc) (struct guild* retVal___, const char *str);
for (hIndex = 0; hIndex < HPMHooks.count.HP_guild_searchname_post; hIndex++) {
postHookFunc = HPMHooks.list.HP_guild_searchname_post[hIndex].func;
retVal___ = postHookFunc(retVal___, str);