diff options
Diffstat (limited to 'plugins/python/_hexchat.py')
-rw-r--r-- | plugins/python/_hexchat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/python/_hexchat.py b/plugins/python/_hexchat.py index 567b3493..5e4b0c65 100644 --- a/plugins/python/_hexchat.py +++ b/plugins/python/_hexchat.py @@ -319,7 +319,7 @@ def del_pluginpref(name): def list_pluginpref(): prefs_str = ffi.new('char[4096]') if lib.hexchat_pluginpref_list(lib.ph, prefs_str) == 1: - return __decode(prefs_str).split(',') + return __decode(ffi.string(prefs_str)).split(',') return [] |