summaryrefslogtreecommitdiff
path: root/src/map/pc_groups.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-20 15:20:42 +0100
committerHaru <haru@dotalux.com>2016-03-20 18:32:08 +0100
commitd9ffa7399bc88ecfaf1f3b17f9f04a743b7f2dd2 (patch)
tree33a179c32d67e49bddd7d70db6280764b6c0173b /src/map/pc_groups.h
parent9975335df7aa30d687bf47aa1fe01f0c4993849d (diff)
downloadhercules-d9ffa7399bc88ecfaf1f3b17f9f04a743b7f2dd2.tar.gz
hercules-d9ffa7399bc88ecfaf1f3b17f9f04a743b7f2dd2.tar.bz2
hercules-d9ffa7399bc88ecfaf1f3b17f9f04a743b7f2dd2.tar.xz
hercules-d9ffa7399bc88ecfaf1f3b17f9f04a743b7f2dd2.zip
Dropped typedef from DBMap
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/pc_groups.h')
-rw-r--r--src/map/pc_groups.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc_groups.h b/src/map/pc_groups.h
index 3f95237b7..27eac7284 100644
--- a/src/map/pc_groups.h
+++ b/src/map/pc_groups.h
@@ -22,9 +22,9 @@
#define MAP_PC_GROUPS_H
#include "common/hercules.h"
-#include "common/db.h"
/* Forward Declarations */
+struct DBMap; // common/db.h
struct config_setting_t;
/// PC permissions
@@ -91,8 +91,8 @@ struct pc_groups_new_permission {
struct pc_groups_interface {
/* */
- DBMap* db; // id -> GroupSettings
- DBMap* name_db; // name -> GroupSettings
+ struct DBMap *db; // id -> GroupSettings
+ struct DBMap *name_db; // name -> GroupSettings
/* */
struct pc_groups_permission_table *permissions;
unsigned char permission_count;