Commit 069d0baa7f
Unsigned
Layout: unified · split
src/lib.rs −5
| @@ -61,8 +61,6 @@ impl Matrix { | ||
| 61 | 61 | fn autoconnect(servers: &mut HashMap<String, MatrixServer>) { |
| 62 | 62 | let weechat = unsafe { Weechat::weechat() }; |
| 63 | 63 | |
| 64 | weechat.print(&format!("Autconnecting servers {:?}", servers.keys())); | |
| 65 | ||
| 66 | 64 | for server in servers.values_mut() { |
| 67 | 65 | match server.connect() { |
| 68 | 66 | Ok(_) => (), |
| @@ -75,9 +73,6 @@ impl Matrix { | ||
| 75 | 73 | servers: &mut HashMap<String, MatrixServer>, |
| 76 | 74 | config: &Config, |
| 77 | 75 | ) { |
| 78 | let weechat = unsafe { Weechat::weechat() }; | |
| 79 | weechat.print("Creating localhost server"); | |
| 80 | ||
| 81 | 76 | let server_name = "localhost"; |
| 82 | 77 | let mut config_borrow = config.borrow_mut(); |
| 83 | 78 | let mut section = config_borrow |