diff --git a/src/library/ThreemaGateway/Model/ActionThrottle.php b/src/library/ThreemaGateway/Model/ActionThrottle.php index 34b7fd2..3d06165 100644 --- a/src/library/ThreemaGateway/Model/ActionThrottle.php +++ b/src/library/ThreemaGateway/Model/ActionThrottle.php @@ -130,8 +130,8 @@ protected function getActionLimit($actionType) if ($xenOptions->threema_gateway_throttle_5min > 0) { $limitArray[] = [60 * 5, $xenOptions->threema_gateway_throttle_5min]; } - if ($xenOptions->threema_gateway_throttle_5h > 0) { - $limitArray[] = [60 * 60, $xenOptions->threema_gateway_throttle_5h]; + if ($xenOptions->threema_gateway_throttle_1h > 0) { + $limitArray[] = [60 * 60, $xenOptions->threema_gateway_throttle_1h]; } break; }