From 027176314c99e295b20026efa931bded5735dcd4 Mon Sep 17 00:00:00 2001 From: Raine Virta Date: Thu, 23 Sep 2010 16:01:19 +0300 Subject: [PATCH] time: be consistent with / notation --- data/rbot/plugins/time.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/rbot/plugins/time.rb b/data/rbot/plugins/time.rb index b623d390..854e403d 100644 --- a/data/rbot/plugins/time.rb +++ b/data/rbot/plugins/time.rb @@ -83,7 +83,7 @@ class TimePlugin < Plugin zone = @registry[ m.sourcenick ] m.reply "#{m.sourcenick}: #{getTime( m, zone )}" else - m.reply "#{m.sourcenick}: use time set to set your time zone." + m.reply "#{m.sourcenick}: use time set / to set your time zone." end end end @@ -92,7 +92,7 @@ class TimePlugin < Plugin if params[:where].size > 0 then s = setZone( m, m.sourcenick, params[:where].join('_') ) else - m.reply "Requires Continent/City or country code" + m.reply "Requires / or country code" end end @@ -104,7 +104,7 @@ class TimePlugin < Plugin if params[:who] and params[:where].size > 0 then s = setZone( m, params[:who], params[:where].join('_') ) else - m.reply "Requires a nick and the Continent/City or country code" + m.reply "Requires a nick and the / or country code" end end @@ -120,7 +120,7 @@ class TimePlugin < Plugin begin getTime( m, zone ) rescue TZInfo::InvalidTimezoneIdentifier - m.reply "#{zone} is an invalid time zone. Format is Continent/City or a two character country code." + m.reply "#{zone} is an invalid time zone. Format is / or a two character country code." return end @registry[ user ] = zone -- 2.39.5