mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-04 18:29:21 +01:00
Fixed length check to be 512, not 450.
This commit is contained in:
parent
2c97e73617
commit
3c419192c8
@ -83,7 +83,7 @@ def reply(msg, s):
|
|||||||
m = ircmsgs.privmsg(msg.args[0], '%s: %s' % (msg.nick, s))
|
m = ircmsgs.privmsg(msg.args[0], '%s: %s' % (msg.nick, s))
|
||||||
else:
|
else:
|
||||||
m = ircmsgs.privmsg(msg.nick, s)
|
m = ircmsgs.privmsg(msg.nick, s)
|
||||||
if len(m) > 450:
|
if len(m) > 512:
|
||||||
m = reply(msg, 'My response would\'ve been too long.')
|
m = reply(msg, 'My response would\'ve been too long.')
|
||||||
return m
|
return m
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user