aboutsummaryrefslogtreecommitdiffstats
path: root/mod/prate.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/prate.php')
-rw-r--r--mod/prate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/prate.php b/mod/prate.php
index b89d16f42..2da6855dd 100644
--- a/mod/prate.php
+++ b/mod/prate.php
@@ -7,7 +7,7 @@ function prate_init(&$a) {
if(! local_channel())
return;
- $channel = $a->get_channel();
+ $channel = App::get_channel();
$target = argv(1);
if(! $target)
@@ -27,7 +27,7 @@ function prate_post(&$a) {
if(! local_channel())
return;
- $channel = $a->get_channel();
+ $channel = App::get_channel();
$target = trim($_REQUEST['target']);
if(! $target)