9d74ceedfd
This relied on undocumented behavior of hexchat_pluginpref_get_int() that has been fixed recently. -1 is the correct failure value.