mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 13:01:06 -05:00
Changed how logging through the debug module is handled.
This commit is contained in:
parent
1ad12d2fcf
commit
a02282c957
@ -65,7 +65,7 @@ for filename in os.listdir(conf.logDir):
|
|||||||
|
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
debug.minimumDebugPriority = 'high'
|
debug.stderr = False
|
||||||
|
|
||||||
import world
|
import world
|
||||||
import ircdb
|
import ircdb
|
||||||
@ -239,7 +239,8 @@ class ChannelPluginTestCase(PluginTestCase):
|
|||||||
if response is not None:
|
if response is not None:
|
||||||
args = list(response.args)
|
args = list(response.args)
|
||||||
# Strip off nick: at beginning of response.
|
# Strip off nick: at beginning of response.
|
||||||
if not ircmsgs.isAction(response):
|
if args[1].startswith(self.nick) or \
|
||||||
|
args[1].startswith(ircutils.nickFromHostmask(self.prefix)):
|
||||||
args[1] = args[1].split(None, 1)[1]
|
args[1] = args[1].split(None, 1)[1]
|
||||||
return ircmsgs.privmsg(*args)
|
return ircmsgs.privmsg(*args)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user