summaryrefslogtreecommitdiff
path: root/src/map/chat.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/chat.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/chat.h')
-rw-r--r--src/map/chat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/chat.h b/src/map/chat.h
index 603d8441f..59d61a46e 100644
--- a/src/map/chat.h
+++ b/src/map/chat.h
@@ -23,8 +23,9 @@
#include "map/map.h" // struct block_list, CHATROOM_TITLE_SIZE
#include "common/hercules.h"
-#include "common/db.h"
+/* Forward Declarations */
+struct DBMap; // common/db.h
struct chat_data;
struct map_session_data;
struct npc_data;
@@ -46,7 +47,7 @@ struct chat_data {
struct block_list* owner;
char npc_event[EVENT_NAME_LENGTH];
/* isn't this a waste? there is a enormous overhead, wouldn't something like skill_blockpc_start be better here? [Ind] */
- DBMap* kick_list; ///< DBMap of users who were kicked from this chat
+ struct DBMap *kick_list; ///< DBMap of users who were kicked from this chat
};
/*=====================================