Forgot to convert the response of time parsing to a string before replying with it.

This commit is contained in:
Jeremy Fincher 2005-02-02 17:10:20 +00:00
parent 5ca79f0f49
commit 10e496eed0

View File

@ -97,7 +97,7 @@ class Time(callbacks.Privmsg):
now = int(time.time())
new = parse(s)
if new != now:
irc.reply(new)
irc.reply(str(new))
else:
irc.error('That\'s right now!')
at = wrap(at, ['text'])