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
@@ -48,9 +48,8 @@ var (
)
func init() {
MsgHandlers["sc"] = scHandleMessage
go scScrapeLoop()
xlog.Info("SC module initialized")
MsgFuncs["sc"] = scHandleMessage
RunFuncs["sc"] = scScrapeLoop
}
func scHandleMessage(m *irc.Message) {