summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-12 09:41:45 -0800
committerBrion Vibber <brion@pobox.com>2010-03-12 09:41:45 -0800
commitf3066c80d3c55dd0dbf8315674a76e4d2adbe49a (patch)
tree800b590b8081de0820b7cf810e658503617845fa /lib
parentb1d90a835f414532ea318ef39e9d1fc8c816805e (diff)
parentea7c1bab2e9b17ab6101f4143fcee02d93357930 (diff)
Merge commit 'origin/0.9.x' into 0.9.x
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 3809c98cc..f7421269d 100644
--- a/lib/command.php
+++ b/lib/command.php
@@ -729,7 +729,7 @@ class LoseCommand extends Command
return;
}
- $result = Subscription::cancel($this->other, $this->user);
+ $result = Subscription::cancel($this->getProfile($this->other), $this->user->getProfile());
if ($result) {
$channel->output($this->user, sprintf(_('Unsubscribed %s'), $this->other));