summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-23 11:06:37 -0700
committerBrion Vibber <brion@pobox.com>2010-03-23 11:08:30 -0700
commit44caa3a93f452777c795006edb52ef4c5c2c4997 (patch)
tree633cd4537a35c6185c403b991ba132756bbba763 /lib
parent80b16c8499d0cfdb4deb442ba18345befed4e29d (diff)
Consistently send Profiles into Fave::addNew()
Diffstat (limited to 'lib')
-rw-r--r--lib/command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.php b/lib/command.php
index 9d550550f..8080fb8bc 100644
--- a/lib/command.php
+++ b/lib/command.php
@@ -273,7 +273,7 @@ class FavCommand extends Command
function handle($channel)
{
$notice = $this->getNotice($this->other);
- $fave = Fave::addNew($this->user, $notice);
+ $fave = Fave::addNew($this->user->getProfile(), $notice);
if (!$fave) {
$channel->error($this->user, _('Could not create favorite.'));