mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-25 18:52:22 -05:00
Python: revert 43bd9483ce
Will possibly come back to this at a later time...
This commit is contained in:
parent
df0e97550b
commit
5201f0fd06
@ -1145,10 +1145,15 @@ Plugin_GetCurrent()
|
|||||||
static hexchat_plugin *
|
static hexchat_plugin *
|
||||||
Plugin_GetHandle(PluginObject *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 */
|
/* return fake handle for pluginpref */
|
||||||
if (plugin->gui != NULL)
|
if (plugin->gui != NULL)
|
||||||
return plugin->gui;
|
return plugin->gui;
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
return ph;
|
return ph;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user