diff options
Diffstat (limited to 'src/core/gameserver.h')
-rw-r--r-- | src/core/gameserver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/gameserver.h b/src/core/gameserver.h index 8d9ca9b..59db0c5 100644 --- a/src/core/gameserver.h +++ b/src/core/gameserver.h @@ -39,6 +39,9 @@ public: /// current server game time virtual inline unsigned long timestamp() const { return server_timestamp; } + /// current module + inline const Module *module() const { return server_module; } + /*----- mutators -------------------------------------------------- */ /// is called when a player connects to the game server |