summaryrefslogtreecommitdiffstats
path: root/src/server/EventWriter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/EventWriter.hpp')
-rw-r--r--src/server/EventWriter.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/EventWriter.hpp b/src/server/EventWriter.hpp
index 7b9b920b..5e05af0c 100644
--- a/src/server/EventWriter.hpp
+++ b/src/server/EventWriter.hpp
@@ -96,7 +96,8 @@ public:
virtual void error(const std::string& msg) {} ///< N/A
- void set_event_mode(Event::Mode mode) { _event_mode = mode; }
+ void set_event_mode(Event::Mode mode) { _event_mode = mode; }
+ Event::Mode get_event_mode() { return _event_mode; }
protected:
Engine& _engine;