mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 08:59:44 +02:00
New mod management, new parameter -mods
This commit is contained in:
+1
-4
@@ -8,14 +8,11 @@ import (
|
||||
"os/exec"
|
||||
"strings"
|
||||
|
||||
"code.dnix.de/an/xlog"
|
||||
|
||||
"github.com/sorcix/irc"
|
||||
)
|
||||
|
||||
func init() {
|
||||
MsgHandlers["fortune"] = fortuneHandleMessage
|
||||
xlog.Info("Fortune module initialized")
|
||||
MsgFuncs["fortune"] = fortuneHandleMessage
|
||||
}
|
||||
|
||||
func fortuneHandleMessage(m *irc.Message) {
|
||||
|
||||
Reference in New Issue
Block a user