mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-29 04:32:15 -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 *
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user