Removed extra period on error messages

This commit is contained in:
Matthieu Grieger 2016-06-25 23:23:33 -07:00
parent 26098d7a88
commit 918c59317a

View file

@ -122,7 +122,7 @@ func (dj *MumbleDJ) OnTextMessage(e *gumble.TextMessageEvent) {
"user": e.Sender.Name, "user": e.Sender.Name,
"message": err.Error(), "message": err.Error(),
}).Warnln("Sending an error message...") }).Warnln("Sending an error message...")
dj.SendPrivateMessage(e.Sender, fmt.Sprintf("<b>Error:</b> %s.", err.Error())) dj.SendPrivateMessage(e.Sender, fmt.Sprintf("<b>Error:</b> %s", err.Error()))
} else { } else {
if isPrivateMessage { if isPrivateMessage {
logrus.WithFields(logrus.Fields{ logrus.WithFields(logrus.Fields{