From f7009279698da87c3d306e63b19efc884cbbdf88 Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 23 Sep 2004 19:15:14 +0000 Subject: [PATCH] We were missing an import and a conf. header --- src/callbacks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/callbacks.py b/src/callbacks.py index 2642bfa7f..90200e18b 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -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,