From 9e9e77287c4e87f0ab9f424e49bde6c67e57a736 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sun, 14 Nov 2010 10:19:18 -0600 Subject: [PATCH] 100 for alliance was too high --- lib/Lacuna/RPC/Inbox.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Lacuna/RPC/Inbox.pm b/lib/Lacuna/RPC/Inbox.pm index b979549d..92c4091a 100644 --- a/lib/Lacuna/RPC/Inbox.pm +++ b/lib/Lacuna/RPC/Inbox.pm @@ -122,7 +122,7 @@ sub send_message { } } } - my $max_messages = 100 + (($empire->date_created->epoch - time)/3600) + ( $self->alliance_id ? 100 : 0 ); + my $max_messages = 100 + (($empire->date_created->epoch - time)/3600) + ( $self->alliance_id ? 50 : 0 ); if ($send_count > $max_messages) { confess [1010, "You have already sent the maximum number (".$max_messages.") of messages you can send for one day."]; } -- 2.54.0