Time: Remove useless/bad/wrong error message from @tztime.

This commit is contained in:
Valentin Lorentz 2011-08-12 13:07:40 +02:00
parent 2caae4d043
commit 8d6ce790e8
2 changed files with 1 additions and 3 deletions

View File

@ -171,8 +171,6 @@ class Time(callbacks.Plugin):
except ImportError: except ImportError:
irc.error(_('Python-tz is required by the command, but is not ' irc.error(_('Python-tz is required by the command, but is not '
'installed on this computer.')) 'installed on this computer.'))
if len(timezone.split('/')) != 2:
irc.error(_('A timezone must be in the format region/city.'))
try: try:
timezone = pytz.timezone(timezone) timezone = pytz.timezone(timezone)
except pytz.UnknownTimeZoneError: except pytz.UnknownTimeZoneError:

View File

@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change """stick the various versioning attributes in here, so we only have to change
them once.""" them once."""
version = '0.83.4.1+limnoria (2011-08-10T17:23:59+0200)' version = '0.83.4.1+limnoria (2011-08-12T13:07:40+0200)'