about summary refs log tree commit diff
path: root/src/game/client/components/chat.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/chat.hpp')
-rw-r--r--src/game/client/components/chat.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/client/components/chat.hpp b/src/game/client/components/chat.hpp
index fc21ce1f..12d3be96 100644
--- a/src/game/client/components/chat.hpp
+++ b/src/game/client/components/chat.hpp
@@ -38,10 +38,9 @@ class CHAT : public COMPONENT
 	static void con_chat(void *result, void *user_data);
 	
 public:
+	bool is_active() const { return mode != MODE_NONE; }
 	
 	void add_line(int client_id, int team, const char *line);
-	//void chat_reset();
-	//bool chat_input_handle(INPUT_EVENT e, void *user_data);
 	
 	void enable_mode(int team);