diff --git a/cloudbot/__init__.py b/cloudbot/__init__.py index 896c69749..e92f246cc 100644 --- a/cloudbot/__init__.py +++ b/cloudbot/__init__.py @@ -12,7 +12,7 @@ __version__ = "1.0.9" -__all__ = ["util", "bot", "connection", "config", "permissions", "plugin", "event", "hook", "log_dir"] +__all__ = ["util", "bot", "connection", "config", "permissions", "plugin", "event", "hook", "logging_dir"] def _setup(): diff --git a/plugins/log.py b/plugins/log.py index 57b00b58b..f0eb93e4d 100644 --- a/plugins/log.py +++ b/plugins/log.py @@ -96,12 +96,12 @@ def format_irc_event(event, args): if event.irc_ctcp_text is not None: ctcp_args = event.irc_ctcp_text.split(None, 1) - + ctcp_command = ctcp_args[0] ctcp_message = None if len(ctcp_args) > 1: ctcp_message = ctcp_args[1] - + args["ctcp_command"] = ctcp_command args["ctcp_message"] = ctcp_message