diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-26 08:31:41 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-26 08:31:41 +0000 |
commit | 028c2d493355b6cb475f319364be6c2781b6d78f (patch) | |
tree | 39ef1d5b9243036870d09bfb89785c73a001d2c4 /data | |
parent | a5f3131154ad3ad1bf4e8ff5b45210a3fe17eb46 (diff) |
Missed some warn -> warning conversion
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/bans.rb | 2 | ||||
-rw-r--r-- | data/rbot/plugins/rss.rb | 2 |
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
}
|