Announcements module added.
This commit is contained in:
parent
3982d4e877
commit
9f5d94b24d
2 changed files with 22 additions and 1 deletions
21
modules/announcements/announcements.go
Normal file
21
modules/announcements/announcements.go
Normal file
|
@ -0,0 +1,21 @@
|
|||
// vi:ts=4:sts=4:sw=4:noet:tw=72
|
||||
|
||||
package announcements
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/sorcix/irc"
|
||||
)
|
||||
|
||||
var (
|
||||
sayCh chan string
|
||||
)
|
||||
|
||||
func Init(ch chan string) {
|
||||
log.Println("Initializing announcements module")
|
||||
sayCh = ch
|
||||
}
|
||||
|
||||
func HandleMessage(m *irc.Message) {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue