fix repl forward command

This commit is contained in:
B. Petersen
2019-12-03 22:25:21 +01:00
committed by holger krekel
parent ad87b7c4a5
commit 4c0d00640b

View File

@@ -879,7 +879,7 @@ pub fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::Error> {
}
"forward" => {
ensure!(
!arg1.is_empty() && arg2.is_empty(),
!arg1.is_empty() && !arg2.is_empty(),
"Arguments <msg-id> <chat-id> expected"
);