mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
We were missing an import and a conf. header
This commit is contained in:
parent
72214dc9d0
commit
f700927969
@ -36,6 +36,8 @@ PrivmsgRegexp class. Read their respective docstrings for more information on
|
||||
how to use them.
|
||||
"""
|
||||
|
||||
import supybot
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import supybot.fix as fix
|
||||
@ -722,7 +724,7 @@ class IrcObjectProxy(RichReplyMethods):
|
||||
try:
|
||||
if not isinstance(self.irc, irclib.Irc):
|
||||
s = s[:conf.supybot.reply.maximumLength()]
|
||||
if conf.get(supybot.reply.truncate, self.msg.args[0]):
|
||||
if conf.get(conf.supybot.reply.truncate, self.msg.args[0]):
|
||||
s = s[:512]
|
||||
self.irc.reply(s, to=self.to,
|
||||
notice=self.notice,
|
||||
|
Loading…
Reference in New Issue
Block a user