Will possibly come back to this at a later time...
This commit is contained in:
TingPing 2013-06-04 06:13:28 -03:00
parent df0e97550b
commit 5201f0fd06

View File

@ -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;
}