summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-06-04 06:13:28 -0300
committerTingPing <tngpng@gmail.com>2013-06-04 06:13:28 -0300
commit5201f0fd06257a7766a126c50ac5e3890d832287 (patch)
tree6ad03b00c0f86d673c298f1119eb1400d3596336
parentdf0e97550b2a8219815a9f10e3cda8d38a754f7f (diff)
Python: revert 43bd9483ce
Will possibly come back to this at a later time...
-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;
 }