mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 08:59:44 +02:00
Beautify logs with xlog
This commit is contained in:
+3
-2
@@ -5,16 +5,17 @@ package modules
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"log"
|
||||
"os/exec"
|
||||
"strings"
|
||||
|
||||
"code.dnix.de/an/xlog"
|
||||
|
||||
"github.com/sorcix/irc"
|
||||
)
|
||||
|
||||
func init() {
|
||||
MsgHandlers["fortune"] = fortuneHandleMessage
|
||||
log.Println("Initializing fortune module")
|
||||
xlog.Info("Fortune module initialized")
|
||||
}
|
||||
|
||||
func fortuneHandleMessage(m *irc.Message) {
|
||||
|
||||
Reference in New Issue
Block a user