aboutsummaryrefslogtreecommitdiff
path: root/modules/channel_log
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-23 10:28:14 +0100
committerGravatar jesopo2019-05-23 10:28:14 +0100
commitcf29c371120929c53490d6017d5f43cf04f3cbc9 (patch)
treefcdce0685aca7a7edb319b35589ecc4ce80edbd6 /modules/channel_log
parent`event.eat()` for command.regex hooks in github module (diff)
signature
Add usage examples for all settings
Diffstat (limited to 'modules/channel_log')
-rw-r--r--modules/channel_log/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/channel_log/__init__.py b/modules/channel_log/__init__.py
index b7cc46bf..546277d7 100644
--- a/modules/channel_log/__init__.py
+++ b/modules/channel_log/__init__.py
@@ -5,8 +5,8 @@ ROOT_DIRECTORY = os.path.dirname(os.path.realpath(__file__))
LOGS_DIRECTORY = os.path.join(ROOT_DIRECTORY, "logs")
@utils.export("channelset", {"setting": "log",
- "help": "Enable/disable channel logging",
- "validate": utils.bool_or_none})
+ "help": "Enable/disable channel logging", "validate": utils.bool_or_none,
+ "example": "on"})
class Module(ModuleManager.BaseModule):
def _log_file(self, server_name, channel_name):
return open(os.path.join(LOGS_DIRECTORY,