diff options
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/weather.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/rbot/plugins/weather.rb b/data/rbot/plugins/weather.rb index a3550fb9..467d39e3 100644 --- a/data/rbot/plugins/weather.rb +++ b/data/rbot/plugins/weather.rb @@ -270,8 +270,9 @@ class WeatherPlugin < Plugin def wu_out_special(m, xml) return unless @bot.config['weather.advisory'] - special = wu_check_special(xml).merge(:underline => Underline) + special = wu_check_special(xml) if special + special.merge!(:underline => Underline) if special[:text] m.reply("%{underline}%{special}%{underline}: %{text}" % special) else |