From 65b4f169b25eec4b0e24eb49f7ca00576889bc31 Mon Sep 17 00:00:00 2001 From: Raine Virta Date: Mon, 8 Mar 2010 20:29:24 +0200 Subject: reaction: handle :acts in can_add? --- data/rbot/plugins/reaction.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3