From 028c2d493355b6cb475f319364be6c2781b6d78f Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 26 Aug 2007 08:31:41 +0000 Subject: Missed some warn -> warning conversion --- data/rbot/plugins/bans.rb | 2 +- data/rbot/plugins/rss.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'data') 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 } -- cgit v1.2.3