From e2874c9f8636ed2978eb72fc7a29acab909e7d7b Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 31 May 2021 12:40:37 +0200 Subject: webhook: typo preventing unwatch --- data/rbot/plugins/webhook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- cgit v1.2.3