Move logging

This commit is contained in:
Bruce Marriner 2016-05-28 15:10:55 -05:00
parent 7039cc47dc
commit af201919a0

View file

@ -460,6 +460,8 @@ type voiceChannelJoinOp struct {
// deaf : If true, you will be set to deafened upon joining. // deaf : If true, you will be set to deafened upon joining.
func (s *Session) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (voice *VoiceConnection, err error) { func (s *Session) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (voice *VoiceConnection, err error) {
s.log(LogInformational, "called")
// If a voice connection already exists for this guild then // If a voice connection already exists for this guild then
// return that connection. If the channel differs, also change channels. // return that connection. If the channel differs, also change channels.
var ok bool var ok bool