X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb%2FController%2FUsers.pm;h=4ae8d54450f033fe1dbdd5a6d62d666d93e1339c;hb=2c227a364191710527b3baa3529ca23a0cf1df6f;hp=efb48d3fd155e0e718c83f860a93a6dfd048662a;hpb=0a35b86f2577bc9e2efcabe818a56a9ec46bb0bd;p=ndwebbie.git diff --git a/lib/NDWeb/Controller/Users.pm b/lib/NDWeb/Controller/Users.pm index efb48d3..4ae8d54 100644 --- a/lib/NDWeb/Controller/Users.pm +++ b/lib/NDWeb/Controller/Users.pm @@ -169,7 +169,7 @@ sub postmail : Local { } my %mail = ( - smtp => 'ruin.nu', + smtp => 'localhost', BCC => (join ',',@emails), From => 'NewDawn Command ', 'Content-type' => 'text/plain; charset="UTF-8"', @@ -216,6 +216,8 @@ ORDER BY time desc }); $query->execute; $c->stash(sms => $query->fetchall_arrayref({})); + + $c->stash(credits => $dbh->selectrow_array(q{SELECT credits FROM clickatell})); } sub postsms : Local {