Procházet zdrojové kódy

And fix the ctor.

pull/289/head
Greg Holmes před 9 roky
rodič
revize
a4afdcd48f

+ 1
- 1
logging/src/com/dmdirc/addons/logging/LoggingPlugin.java Zobrazit soubor

39
     public void load(final PluginInfo pluginInfo, final ObjectGraph graph) {
39
     public void load(final PluginInfo pluginInfo, final ObjectGraph graph) {
40
         super.load(pluginInfo, graph);
40
         super.load(pluginInfo, graph);
41
 
41
 
42
-        setObjectGraph(graph.plus(new LoggingModule(pluginInfo.getDomain())));
42
+        setObjectGraph(graph.plus(new LoggingModule(pluginInfo)));
43
         manager = getObjectGraph().get(LoggingManager.class);
43
         manager = getObjectGraph().get(LoggingManager.class);
44
 
44
 
45
         registerCommand(LoggingCommand.class, LoggingCommand.INFO);
45
         registerCommand(LoggingCommand.class, LoggingCommand.INFO);

Načítá se…
Zrušit
Uložit