Do not trim leading colon from msg

This commit is contained in:
Björn Busse 2018-03-04 19:50:32 +00:00
parent 3c46d29461
commit 398bedcca4

View File

@ -344,7 +344,7 @@ func Processor(events chan ClientEvent, finished chan struct{}) {
client.ReplyNicknamed("305", "You are no longer marked as being away") client.ReplyNicknamed("305", "You are no longer marked as being away")
continue continue
} }
msg := strings.TrimLeft(cols[1], ":") msg := cols[1]
client.away = &msg client.away = &msg
client.ReplyNicknamed("306", "You have been marked as being away") client.ReplyNicknamed("306", "You have been marked as being away")
case "JOIN": case "JOIN":