summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/bans.rb2
-rw-r--r--data/rbot/plugins/rss.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/bans.rb b/data/rbot/plugins/bans.rb
index 73121b7e..ac5262b7 100644
--- a/data/rbot/plugins/bans.rb
+++ b/data/rbot/plugins/bans.rb
@@ -67,7 +67,7 @@ class BansPlugin < Plugin
action = :kickban
else
# Shouldn't happen
- warn "Unknown action in old data #{ar.inspect} -- entry ignored"
+ warning "Unknown action in old data #{ar.inspect} -- entry ignored"
next
end
bans.delete(ar)
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index f30bc006..483355c7 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -716,7 +716,7 @@ class RSSFeedsPlugin < Plugin
else
debug "accepting new #{uid} #{item.inspect}"
debug [uid, txt].inspect
- warn "same text! #{txt}" if otxt.include?(txt)
+ warning "same text! #{txt}" if otxt.include?(txt)
false
end
}