diff options
author | Raine Virta <rane@kapsi.fi> | 2010-03-08 20:29:24 +0200 |
---|---|---|
committer | Raine Virta <rane@kapsi.fi> | 2010-04-16 22:58:24 +0300 |
commit | 65b4f169b25eec4b0e24eb49f7ca00576889bc31 (patch) | |
tree | 3291d44c9491b5ce1b6d6edb3071e112fdaf9e0e /data | |
parent | 94dd59fd7dca3cf506c3dd9febdfa877e4208459 (diff) |
reaction: handle :acts in can_add?
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/reaction.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/reaction.rb b/data/rbot/plugins/reaction.rb index b25b04b8..d3f4b558 100644 --- a/data/rbot/plugins/reaction.rb +++ b/data/rbot/plugins/reaction.rb @@ -303,6 +303,7 @@ class ReactionPlugin < Plugin def can_add?(m, reaction) return true if reaction.act == :reply + return true if reaction.act == :act return true if reaction.act == :ruby and @bot.auth.permit?(m.source, "reaction::react::ruby", m.channel) return true if reaction.act == :cmd and @bot.auth.permit?(m.source, "reaction::react::cmd", m.channel) return false |