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
+1 -4
View File
@@ -7,8 +7,6 @@ import (
"fmt"
"strings"
"code.dnix.de/an/xlog"
"github.com/sorcix/irc"
)
@@ -522,8 +520,7 @@ var quotes = [][]string{
}
func init() {
MsgHandlers["stoll"] = stollHandleMessage
xlog.Info("Stoll module initialized")
MsgFuncs["stoll"] = stollHandleMessage
}
func stollHandleMessage(m *irc.Message) {