summaryrefslogtreecommitdiff
path: root/src/plugins/python/weechat-python.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/weechat-python.c')
-rw-r--r--src/plugins/python/weechat-python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c
index bda86d2e3..49ba73610 100644
--- a/src/plugins/python/weechat-python.c
+++ b/src/plugins/python/weechat-python.c
@@ -446,7 +446,7 @@ weechat_python_exec (struct t_plugin_script *script,
{
switch (format[i])
{
- case 's': /* string */
+ case 's': /* string or null */
argv2[i] = argv[i];
if (weechat_utf8_is_valid (argv2[i], -1, NULL))
format2[i] = 's'; /* str */