summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/commands.py b/src/core/commands.py
index 962a13e8..fdeea8f7 100644
--- a/src/core/commands.py
+++ b/src/core/commands.py
@@ -541,6 +541,8 @@ def command_set(self, args):
"""
/set [module|][section] <option> [value]
"""
+ if args is None:
+ return self.command_help('set')
if len(args) == 1:
option = args[0]
value = config.get(option)