diff --git a/modules/announcements.go b/modules/announcements.go index 3847e9b..a73ac8b 100644 --- a/modules/announcements.go +++ b/modules/announcements.go @@ -3,9 +3,10 @@ package modules import ( - "log" "strings" + "code.dnix.de/an/xlog" + "github.com/sorcix/irc" ) @@ -13,7 +14,7 @@ var () func init() { MsgHandlers["announcements"] = anncouncementsHandleMessage - log.Println("Initializing announcements module") + xlog.Info("Announcements module initialized") } func anncouncementsHandleMessage(m *irc.Message) { diff --git a/modules/coffee.go b/modules/coffee.go index 0418e77..deb2caa 100644 --- a/modules/coffee.go +++ b/modules/coffee.go @@ -17,7 +17,7 @@ import ( func init() { MsgHandlers["coffee"] = coffeeHandleMessage - xlog.Info("Cёffee module initialized") + xlog.Info("Coffee module initialized") } func coffeeHandleMessage(m *irc.Message) { diff --git a/modules/gogs.go b/modules/gogs.go index deac5ad..ccd36ed 100644 --- a/modules/gogs.go +++ b/modules/gogs.go @@ -18,7 +18,7 @@ var ( ) func init() { - MsgHandlers["fuzzytime"] = gogsHandleMessage + MsgHandlers["gogs"] = gogsHandleMessage xlog.Info("Gogs module initialized") }