summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-08-24 03:02:20 -0500
committerJesse Luehrs <doy@tozt.net>2009-08-24 03:02:20 -0500
commitd1f8d6e13b319e696192519729c7ea4522fb9fe7 (patch)
tree9a1aacb8bc4569e94f610d667ccbe9846039bf46
parentfa78d47f1717db2b545bb25baf0f6d3ae3a17a4d (diff)
downloadim-engine-plugin-commands-d1f8d6e13b319e696192519729c7ea4522fb9fe7.tar.gz
im-engine-plugin-commands-d1f8d6e13b319e696192519729c7ea4522fb9fe7.zip
use sender, rather than player (this is no longer Bot::Games)
-rw-r--r--lib/IM/Engine/Plugin/Commands.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IM/Engine/Plugin/Commands.pm b/lib/IM/Engine/Plugin/Commands.pm
index 46d4e31..38b9850 100644
--- a/lib/IM/Engine/Plugin/Commands.pm
+++ b/lib/IM/Engine/Plugin/Commands.pm
@@ -139,7 +139,7 @@ sub incoming {
return;
}
my $body = $method_meta->execute($command, $arg,
- {player => $sender});
+ {sender => $sender});
my @extra_args = $method_meta->meta->does_role('IM::Engine::Plugin::Commands::Trait::Method::Formatted') ? (formatter => $method_meta->formatter) : ();
$self->say($body, @extra_args);
}