channel: Send channel NOTICEs properly

This commit is contained in:
Daniel Oaks
2016-11-29 21:41:26 +10:00
parent 7068072292
commit 5eafd2656e
2 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -1314,7 +1314,7 @@ func noticeHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
// errors silently ignored with NOTICE as per RFC
continue
}
channel.PrivMsg(lowestPrefix, clientOnlyTags, client, message)
channel.Notice(lowestPrefix, clientOnlyTags, client, message)
} else {
target, err := CasefoldName(targetString)
if err != nil {