summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/botuser.rb2
-rw-r--r--lib/rbot/core/utils/extends.rb2
-rw-r--r--lib/rbot/language.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb
index 5ae7fc2b..e498ce6c 100644
--- a/lib/rbot/botuser.rb
+++ b/lib/rbot/botuser.rb
@@ -549,7 +549,7 @@ module Irc
def load_array(ary, forced)
unless ary
- warn "Tried to load an empty array"
+ warning "Tried to load an empty array"
return
end
raise "Won't load with unsaved changes" if @has_changes and not forced
diff --git a/lib/rbot/core/utils/extends.rb b/lib/rbot/core/utils/extends.rb
index 80bad383..e0c781b1 100644
--- a/lib/rbot/core/utils/extends.rb
+++ b/lib/rbot/core/utils/extends.rb
@@ -123,7 +123,7 @@ class ::String
str + ": " + link
}
else
- warn "unknown :a_href option #{val} passed to ircify_html" if val
+ warning "unknown :a_href option #{val} passed to ircify_html" if val
end
# Paragraph and br tags are converted to whitespace
diff --git a/lib/rbot/language.rb b/lib/rbot/language.rb
index 91ac2dd3..c9130ee0 100644
--- a/lib/rbot/language.rb
+++ b/lib/rbot/language.rb
@@ -72,7 +72,7 @@ module Language
debug "locale set to #{locale}"
rbot_gettext_debug
else
- warn "Unable to set locale, unknown language #{language} (#{lang_str})"
+ warning "Unable to set locale, unknown language #{language} (#{lang_str})"
end
file = Config::datadir + "/languages/#{lang_str}.lang"