Fixed length check to be 512, not 450.

This commit is contained in:
Jeremy Fincher 2003-04-08 07:27:53 +00:00
parent 2c97e73617
commit 3c419192c8
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ def reply(msg, s):
m = ircmsgs.privmsg(msg.args[0], '%s: %s' % (msg.nick, s))
else:
m = ircmsgs.privmsg(msg.nick, s)
if len(m) > 450:
if len(m) > 512:
m = reply(msg, 'My response would\'ve been too long.')
return m