summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2010-09-23 16:01:19 +0300
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-09-23 15:05:30 +0200
commit027176314c99e295b20026efa931bded5735dcd4 (patch)
tree8fef89ced2ac66783b7662dd5c5e8cab1f0b2ea7 /data/rbot
parentb218f003e2625c2b9ebc9de39886fb2f54d68aa0 (diff)
time: be consistent with <Continent>/<City> notation
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/time.rb8
1 files 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 <Continent/City> to set your time zone."
+ m.reply "#{m.sourcenick}: use time set <Continent>/<City> 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 <Continent>/<City> 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 <Continent>/<City> 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 <Continent>/<City> or a two character country code."
return
end
@registry[ user ] = zone