summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bridge/irc/irc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go
index cb0a6fe7..a9a74d78 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -250,7 +250,7 @@ func (b *Birc) doSend() {
username := msg.Username
if b.GetBool("Colornicks") {
checksum := crc32.ChecksumIEEE([]byte(msg.Username))
- username = fmt.Sprintf("\x03%d%s\x03", checksum%0x10, msg.Username)
+ username = fmt.Sprintf("\x03%02d%s\x0F", checksum%0x10, msg.Username)
}
if msg.Event == config.EVENT_USER_ACTION {
b.i.Cmd.Action(msg.Channel, username+msg.Text)