Change request #678

js_plugin::on_load does too much things

Added by David Demelier over 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:08/14/2017
Priority:NormalDue date:
Assignee:David Demelier% Done:


Category:irccdEstimated time:1.00 h
Target version:3.0.0Spent time:2.00 h
MFD after: Branch:default
MFD revision: Bookmark:@


The current js_plugin::on_load function load the plugin, register variables and sets configuration, paths and formats. This should be done by user code since it does not allow this form of constructs in unit tests:


Because on_load searches config and apply it, the initial set_config call is discarded.

Associated revisions

Revision 521:f253cf6a8ba8
Added by David Demelier about 1 year ago

Irccd: do not set config in js_plugin load, closes #678


#1 Updated by David Demelier about 1 year ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#2 Updated by David Demelier about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF