1 diff --git a/src/Main.hs b/src/Main.hs
2 index 61da2f3..39e5c9b 100644
5 @@ -73,11 +73,14 @@ main = do
6 config' <- sequence config
8 exitWith <=< lambdabotMain modulesInfo $
9 - [dataDir ==> dir, lbVersion ==> P.version] ++ config'
10 + [dataDir ==> dir, lbVersion ==> P.version] ++ configInfo ++ config'
12 -- special online target for ghci use
13 online :: [String] -> IO ()
16 - void $ lambdabotMain modulesInfo
17 - [dataDir ==> dir, lbVersion ==> P.version, onStartupCmds ==> strs]
18 + void $ lambdabotMain modulesInfo $
19 + [dataDir ==> dir, lbVersion ==> P.version, onStartupCmds ==> strs] ++ configInfo
21 +configInfo :: [DSum Config Identity]
22 +configInfo = @config@
23 diff --git a/src/Modules.hs b/src/Modules.hs
24 index 036ea1f..eaafa50 100644
27 @@ -14,10 +14,15 @@ import Lambdabot.Plugin.Reference
28 import Lambdabot.Plugin.Social
30 modulesInfo :: Modules
31 -modulesInfo = $(modules $ corePlugins
33 - ++ ["irc", "localtime", "topic"] -- ircPlugins
34 - ++ ["dummy", "fresh", "todo"] -- miscPlugins
35 - ++ ["bf", "dice", "elite", "filter", "quote", "slap", "unlambda", "vixen"] -- noveltyPlugins
40 + let oldDefaultModules =
43 + ++ ["irc", "localtime", "topic"] -- ircPlugins
44 + ++ ["dummy", "fresh", "todo"] -- miscPlugins
45 + ++ ["bf", "dice", "elite", "filter", "quote", "slap", "unlambda", "vixen"] -- noveltyPlugins