Commit 05daf6deb2
Unsigned
Layout: unified · split
src/server.rs +4 −2
| @@ -352,7 +352,8 @@ impl MatrixServer { | ||
| 352 | 352 | ); |
| 353 | 353 | |
| 354 | 354 | server_ref.settings.borrow_mut().username = |
| 355 | option.value().to_string(); | |
| 355 | Weechat::eval_string_expression(&option.value()) | |
| 356 | .expect("Can't evaluate username"); | |
| 356 | 357 | }); |
| 357 | 358 | |
| 358 | 359 | server_section |
| @@ -370,7 +371,8 @@ impl MatrixServer { | ||
| 370 | 371 | ); |
| 371 | 372 | |
| 372 | 373 | server_ref.settings.borrow_mut().password = |
| 373 | option.value().to_string(); | |
| 374 | Weechat::eval_string_expression(&option.value()) | |
| 375 | .expect("Can't evaluate password"); | |
| 374 | 376 | }); |
| 375 | 377 | |
| 376 | 378 | server_section |