forked from pothtonswer/discordmuffin
Removed unreachable (and unneeded) code.
This commit is contained in:
parent
21272c5460
commit
457d27b35e
1 changed files with 0 additions and 3 deletions
3
wsapi.go
3
wsapi.go
|
@ -397,9 +397,6 @@ func (s *Session) event(messageType int, message []byte) (err error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
if s.OnMessageDelete != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
case "MESSAGE_ACK":
|
case "MESSAGE_ACK":
|
||||||
if s.OnMessageAck != nil {
|
if s.OnMessageAck != nil {
|
||||||
var st *MessageAck
|
var st *MessageAck
|
||||||
|
|
Loading…
Reference in a new issue