summaryrefslogtreecommitdiff
path: root/src/map/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/storage.c')
-rw-r--r--src/map/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/storage.c b/src/map/storage.c
index f9c343f09..fda80735a 100644
--- a/src/map/storage.c
+++ b/src/map/storage.c
@@ -358,7 +358,7 @@ static DBData create_guildstorage(DBKey key, va_list args)
struct guild_storage *guild2storage(int guild_id)
{
struct guild_storage *gs = NULL;
- if(guild_search(guild_id) != NULL)
+ if(guild->search(guild_id) != NULL)
gs = idb_ensure(guild_storage_db,guild_id,create_guildstorage);
return gs;
}