New mod management, new parameter -mods

This commit is contained in:
Andreas Neue
2016-03-19 23:49:41 +01:00
parent 1dad661ceb
commit 7bffa566c5
13 changed files with 57 additions and 43 deletions
+2 -3
View File
@@ -71,9 +71,8 @@ type WeatherObject struct {
}
func init() {
MsgHandlers["weather"] = weatherHandleMessage
go weatherConfig()
xlog.Info("Weather module initialized")
MsgFuncs["weather"] = weatherHandleMessage
RunFuncs["weather"] = weatherConfig
}
func weatherConfig() {