Changeset View
Changeset View
Standalone View
Standalone View
net-im/6cord/files/patch-main.go
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
Fixed 6cord bleeding DEBUG info. | |||||
See: https://gitlab.com/diamondburned/6cord/commit/ef4509cd6441c4b916207210ec54fc0f5c71d09a#0607f785dfa3c3861b3239f6723eb276d8056461 | |||||
--- main.go.orig 2019-08-19 07:18:48 UTC | |||||
+++ main.go | |||||
@@ -378,6 +378,9 @@ func main() { | |||||
} | |||||
} | |||||
+ // Silent logger | |||||
+ d.Client.Logger = nil | |||||
+ | |||||
d.AddHandler(onReady) | |||||
d.AddHandler(messageCreate) | |||||
d.AddHandler(messageUpdate) |