summaryrefslogtreecommitdiff
path: root/data/rbot/contrib/plugins/stats.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/contrib/plugins/stats.rb')
-rw-r--r--data/rbot/contrib/plugins/stats.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/contrib/plugins/stats.rb b/data/rbot/contrib/plugins/stats.rb
index 4cafbbe9..97f42bd3 100644
--- a/data/rbot/contrib/plugins/stats.rb
+++ b/data/rbot/contrib/plugins/stats.rb
@@ -19,10 +19,10 @@
class StatsPlugin < Plugin
- @@commands = {
+ @@commands = {
"stats" => "handle_stats",
"track" => "handle_track",
- "untrack" => "handle_untrack",
+ "untrack" => "handle_untrack",
"listtokens" => "handle_listtokens",
"rmabuser" => "handle_rmabuser"
}
@@ -61,7 +61,7 @@ class StatsPlugin < Plugin
m.reply "What a crazy fool! Did you mean |help stats?"
return
end
-
+
meth = self.method(@@commands[m.plugin])
meth.call(m)
end