diff options
| author | iximeow <me@iximeow.net> | 2017-10-02 01:27:08 -0700 | 
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2017-10-02 01:27:18 -0700 | 
| commit | 781981f333345482e93ed35453e98e519bb7cc5e (patch) | |
| tree | 08cfbcc32b9fbea5f13fd3447026090f51402274 /commands/quit.rs | |
| parent | 081c0732b87383e3876fd6c60417f15830554174 (diff) | |
move everything to src/
Diffstat (limited to 'commands/quit.rs')
| -rw-r--r-- | commands/quit.rs | 18 | 
1 files changed, 0 insertions, 18 deletions
| diff --git a/commands/quit.rs b/commands/quit.rs deleted file mode 100644 index 982c48f..0000000 --- a/commands/quit.rs +++ /dev/null @@ -1,18 +0,0 @@ -use tw; -use ::Queryer; - -use commands::Command; - -use std::process::exit; - -pub static QUIT: Command = Command { -    keyword: "q", -    params: 0, -    exec: quit -}; - -fn quit(_line: String, tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) { -    println!("Bye bye!"); -    tweeter.store_cache(); -    exit(0); -} | 
