summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-03-11 21:02:41 -0500
committerCraig Andrews <candrews@integralblue.com>2010-03-11 21:02:41 -0500
commit2179aae7582ec470a28f61d086d226fdb02e35e7 (patch)
tree41ae5c5f745f19cc824bf5df46cc6cf5f6e997fe /lib
parenta715271f847fed7d7c725c5b752ea7a00800520a (diff)
fubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fix
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));