Add part, patch by soul9
This commit is contained in:
parent
79ac1741ea
commit
105d6d61d3
4
irc.go
4
irc.go
@ -106,6 +106,10 @@ func (irc *IRCConnection) Join(channel string) {
|
|||||||
irc.pwrite <- fmt.Sprintf("JOIN %s\r\n", channel)
|
irc.pwrite <- fmt.Sprintf("JOIN %s\r\n", channel)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (irc *IRCConnection) Part(channel string) {
|
||||||
|
irc.pwrite <- fmt.Sprintf("PART %s\r\n", channel)
|
||||||
|
}
|
||||||
|
|
||||||
func (irc *IRCConnection) Notice(target, message string) {
|
func (irc *IRCConnection) Notice(target, message string) {
|
||||||
irc.pwrite <- fmt.Sprintf("NOTICE %s :%s\r\n", target, message)
|
irc.pwrite <- fmt.Sprintf("NOTICE %s :%s\r\n", target, message)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user