short comment to describe dispatch_quit()

master
rasul 5 years ago
parent 0547792265
commit 933c63f717

@ -6,6 +6,7 @@ use crate::queue::SendQueue;
use crate::state::State;
impl Command {
/// Quit the game
pub fn dispatch_quit(&self, _: String, token: Token, _: &mut Db) -> SendQueue {
SendQueue(vec![(token, "Goodbye\n\n".into(), false, Some(State::Quit))].into())
}

Loading…
Cancel
Save