diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2021-05-31 12:40:37 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2021-05-31 13:20:43 +0200 |
commit | e2874c9f8636ed2978eb72fc7a29acab909e7d7b (patch) | |
tree | fb3d39e812fb31b2b2da90eae0083b0722f51084 /data | |
parent | 3d8bdf551aebdd4fa7ddb10fa8e824232dd4f82b (diff) |
webhook: typo preventing unwatch
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/webhook.rb | 2 |
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? |