diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-08 10:17:37 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-08 10:17:37 +0000 |
commit | 4cad4a27677b0490d3ba0018bc3404961f925ed5 (patch) | |
tree | f9d59542f27f66a9fb4c8938f40aec66994449fc /src/client/notifications.cc | |
parent | 27ab3566118e77754fefb32a41ee06cf24a59dfe (diff) |
docking, bumps network protocol version
Diffstat (limited to 'src/client/notifications.cc')
-rw-r--r-- | src/client/notifications.cc | 6 |
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) { |