mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +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.
|
how to use them.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import supybot
|
||||||
|
|
||||||
__revision__ = "$Id$"
|
__revision__ = "$Id$"
|
||||||
|
|
||||||
import supybot.fix as fix
|
import supybot.fix as fix
|
||||||
@ -722,7 +724,7 @@ class IrcObjectProxy(RichReplyMethods):
|
|||||||
try:
|
try:
|
||||||
if not isinstance(self.irc, irclib.Irc):
|
if not isinstance(self.irc, irclib.Irc):
|
||||||
s = s[:conf.supybot.reply.maximumLength()]
|
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]
|
s = s[:512]
|
||||||
self.irc.reply(s, to=self.to,
|
self.irc.reply(s, to=self.to,
|
||||||
notice=self.notice,
|
notice=self.notice,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user