diff options
author | Raine Virta <rane@kapsi.fi> | 2009-02-19 16:26:34 +0200 |
---|---|---|
committer | Raine Virta <rane@kapsi.fi> | 2009-02-19 16:26:34 +0200 |
commit | 783ffa4235330029d661752b1023db635b26f2b3 (patch) | |
tree | e60c7a89e7053120b33810230401f5490a3cb697 /data/rbot/contrib | |
parent | ff452ad1bf111025f0661274ac7fb8b2f769a293 (diff) |
remove whitespace
Diffstat (limited to 'data/rbot/contrib')
-rw-r--r-- | data/rbot/contrib/plugins/stats.rb | 6 | ||||
-rw-r--r-- | data/rbot/contrib/plugins/vandale.rb | 2 |
2 files changed, 4 insertions, 4 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 diff --git a/data/rbot/contrib/plugins/vandale.rb b/data/rbot/contrib/plugins/vandale.rb index 7b806c85..720fe762 100644 --- a/data/rbot/contrib/plugins/vandale.rb +++ b/data/rbot/contrib/plugins/vandale.rb @@ -16,7 +16,7 @@ class VanDalePlugin < Plugin ret = Array.new Utils.safe_exec("/usr/local/bin/gnuvd", m.params).each{|line| if line.length > 5 then ret << line end} m.reply ret.delete_at(0) - while ret[0] =~ /^[[:alpha:]_]*[0-9]/ + while ret[0] =~ /^[[:alpha:]_]*[0-9]/ m.reply ret.delete_at(0) end while ret[0] =~ /^[0-9]/ |