Remove Disconnect() from Quit(). Use ERROR feedback from server instead.
This commit is contained in:
parent
14db1acfd0
commit
b73cc42bde
1
irc.go
1
irc.go
@ -189,7 +189,6 @@ func (irc *Connection) Loop() {
|
|||||||
func (irc *Connection) Quit() {
|
func (irc *Connection) Quit() {
|
||||||
irc.SendRaw("QUIT")
|
irc.SendRaw("QUIT")
|
||||||
irc.stopped = true
|
irc.stopped = true
|
||||||
irc.Disconnect()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use the connection to join a given channel.
|
// Use the connection to join a given channel.
|
||||||
|
Loading…
Reference in New Issue
Block a user