Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/chat.cc')
-rw-r--r--src/client/chat.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/chat.cc b/src/client/chat.cc
index f123bbc..1983415 100644
--- a/src/client/chat.cc
+++ b/src/client/chat.cc
@@ -43,6 +43,13 @@ Chat::~Chat()
history.clear();
}
+void Chat::clear()
+{
+ chat_log.clear();
+ chat_input->clear();
+}
+
+
void Chat::set_small_view(bool small_chat_view)
{
chat_small = small_chat_view;