From 4cad4a27677b0490d3ba0018bc3404961f925ed5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Nov 2008 10:17:37 +0000 Subject: docking, bumps network protocol version --- src/client/notifications.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client/notifications.cc') 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) { -- cgit v1.2.3