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/notifications.cc')
-rw-r--r--src/client/notifications.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/notifications.cc b/src/client/notifications.cc
index b7c11fd..256f110 100644
--- a/src/client/notifications.cc
+++ b/src/client/notifications.cc
@@ -26,6 +26,12 @@ Notifications::~Notifications()
{
}
+void Notifications::clear()
+{
+ notify_log.clear();
+ notify_timestamp.clear();
+}
+
void Notifications::event_text(const std::string & text)
{
while (notify_log.size() >= NOTIFY_LOG_SIZE) {