summary refs log tree commit diff stats
path: root/plugins/python
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/python.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c
index 51735e83..b34ed0a9 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -1145,10 +1145,15 @@ Plugin_GetCurrent()
 static hexchat_plugin *
 Plugin_GetHandle(PluginObject *plugin)
 {
+	/* This works but the issue is that the script must be ran to get
+	 * the name of it thus upon first use it will use the wrong handler
+	 * work around would be to run a fake script once to get name? */
+#if 0
 	/* return fake handle for pluginpref */
 	if (plugin->gui != NULL)
 		return plugin->gui;
 	else
+#endif
 		return ph;
 }