mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +01:00
Fix for bug #938377.
This commit is contained in:
parent
16b65f58ec
commit
7b16100376
@ -135,6 +135,7 @@ class LogProxy(object):
|
||||
Logs <text> to the global supybot log at critical priority. Useful for
|
||||
marking logfiles for later searching.
|
||||
"""
|
||||
__name__ = 'log' # Necessary for help.
|
||||
def __init__(self, log):
|
||||
self.log = log
|
||||
self.im_func = holder()
|
||||
|
@ -36,6 +36,9 @@ import Owner
|
||||
|
||||
class OwnerTestCase(PluginTestCase, PluginDocumentation):
|
||||
plugins = ('Utilities', 'Relay', 'Network', 'Admin', 'Channel')
|
||||
def testHelpLog(self):
|
||||
self.assertHelp('help log')
|
||||
|
||||
def testEval(self):
|
||||
try:
|
||||
originalConfAllowEval = conf.allowEval
|
||||
|
Loading…
Reference in New Issue
Block a user