From 5201f0fd06257a7766a126c50ac5e3890d832287 Mon Sep 17 00:00:00 2001 From: TingPing Date: Tue, 4 Jun 2013 06:13:28 -0300 Subject: Python: revert 43bd9483ce Will possibly come back to this at a later time... --- plugins/python/python.c | 5 +++++ 1 file changed, 5 insertions(+) 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; } -- cgit 1.4.1