summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/webhook.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/webhook.rb b/data/rbot/plugins/webhook.rb
index 06b25cfb..6e8acb92 100644
--- a/data/rbot/plugins/webhook.rb
+++ b/data/rbot/plugins/webhook.rb
@@ -335,7 +335,7 @@ class WebHookPlugin < Plugin
repo = params[:repo]
chan = (params[:chan] || m.replyto).downcase
- if @repo.has_key?(repo)
+ if @repos.has_key?(repo)
@repos[repo].delete(chan)
m.okay
if @repos[repo].empty?