3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 11:42:35 +01:00

Fix recall logic for integer history

This commit is contained in:
Pragmatic Software 2015-09-18 17:45:25 -07:00
parent 8691e6d7bb
commit d4eb08856a

View File

@ -324,11 +324,11 @@ sub recall_message {
} else {
return "$result.";
}
}
} else {
return "Please choose a history between 1 and $max_messages";
}
}
}
$recall_history--;
$message = $self->{database}->recall_message_by_count($account, $recall_channel, $recall_history, 'recall');