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 -4
View File
@@ -8,8 +8,6 @@ import (
"strings"
"time"
"code.dnix.de/an/xlog"
"github.com/sorcix/irc"
)
@@ -18,8 +16,8 @@ var (
)
func init() {
MsgHandlers["gogs"] = gogsHandleMessage
xlog.Info("Gogs module initialized")
MsgFuncs["gogs"] = gogsHandleMessage
RunFuncs["gogs"] = gogsConfig
}
func gogsConfig() {