summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-11-17 15:53:05 +0100
committerGitHub <noreply@github.com>2019-11-17 15:53:05 +0100
commitd92a4cdd378ab3c952f2419c46cd645348e1c61f (patch)
treecdeea33ba7d1ce3672f44c772bc0b853b21da02e /src/map/guild.c
parent16f3d5e12cdf28c5209af7ce74d1dfe4614deb00 (diff)
parent50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (diff)
downloadhercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.gz
hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.bz2
hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.xz
hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.zip
Merge pull request #2566 from Helianthella/guild
add getguildinfo()
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index dbfe03d3e..2fcbe02e7 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -278,7 +278,7 @@ static struct guild *guild_search(int guild_id)
}
/// lookup: guild name -> guild*
-static struct guild *guild_searchname(char *str)
+static struct guild *guild_searchname(const char *str)
{
struct guild* g;
struct DBIterator *iter = db_iterator(guild->db);