aboutsummaryrefslogtreecommitdiffstats
path: root/modules/log/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log/flags.go')
-rw-r--r--modules/log/flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log/flags.go b/modules/log/flags.go
index 928d42b965..992fc62ddb 100644
--- a/modules/log/flags.go
+++ b/modules/log/flags.go
@@ -57,7 +57,7 @@ func FlagsFromString(from string) int {
for _, flag := range strings.Split(strings.ToLower(from), ",") {
f, ok := flagFromString[strings.TrimSpace(flag)]
if ok {
- flags = flags | f
+ flags |= f
}
}
return flags