From 02b547419acc3016f806dc81a7300f4c7ca0e8ec Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sun, 14 Nov 2010 23:18:48 -0600 Subject: [PATCH] fixed email sending --- 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 92c4091a..b7114ff6 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 ? 50 : 0 ); + my $max_messages = 100 + (($empire->date_created->epoch - time)/3600) + ( $empire->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.51.2