From 2aafe6967e38851d56f747cb3e615da7e9fa9bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 8 Jun 2021 09:46:59 +0200 Subject: doc --- mumd/src/state.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'mumd/src') diff --git a/mumd/src/state.rs b/mumd/src/state.rs index 3aa330f..d0a7e4b 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -297,6 +297,7 @@ impl State { .play_effect(NotificationEvents::ServerConnect); } + /// Store a new event pub fn push_event(&mut self, kind: MumbleEventKind) { self.events.push(MumbleEvent { timestamp: chrono::Local::now().naive_local(), kind }); } -- cgit v1.2.1