Mercurial > irccd
comparison tests/plugin-history/main.cpp @ 195:1c22fcce1662
Irccd: rename PluginService.configure to setConfig
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 07 Jun 2016 14:19:27 +0200 |
parents | 70ed0753ce0d |
children | 6635b9187d71 |
comparison
equal
deleted
inserted
replaced
194:008b94539c9d | 195:1c22fcce1662 |
---|---|
72 { | 72 { |
73 // Add file if not there. | 73 // Add file if not there. |
74 if (config.count("file") == 0) | 74 if (config.count("file") == 0) |
75 config.emplace("file", SOURCEDIR "/words.conf"); | 75 config.emplace("file", SOURCEDIR "/words.conf"); |
76 | 76 |
77 m_ps.configure("history", config); | 77 m_ps.setConfig("history", config); |
78 m_ps.load("history", PLUGINDIR "/history.js"); | 78 m_ps.load("history", PLUGINDIR "/history.js"); |
79 m_plugin = m_ps.require("history"); | 79 m_plugin = m_ps.require("history"); |
80 } | 80 } |
81 }; | 81 }; |
82 | 82 |