Announcements module added.
This commit is contained in:
parent
3982d4e877
commit
9f5d94b24d
|
@ -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) {
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
// vim:ts=4:sts=4:sw=4:noet:tw=72
|
// vi:ts=4:sts=4:sw=4:noet:tw=72
|
||||||
|
|
||||||
package sc
|
package sc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue