mirror of https://github.com/fluffle/goirc
Bugfix -- there could be other integer modes than +l.
This commit is contained in:
parent
ff61bc9ea1
commit
6bb5558c46
|
@ -326,7 +326,7 @@ func (cm *ChanMode) String() string {
|
||||||
case *reflect.IntValue:
|
case *reflect.IntValue:
|
||||||
if f.Get() != 0 {
|
if f.Get() != 0 {
|
||||||
str += ChanModeToString[t.Field(i).Name]
|
str += ChanModeToString[t.Field(i).Name]
|
||||||
a[1] = fmt.Sprintf("%d", cm.Limit)
|
a[1] = fmt.Sprintf("%d", f.Get())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue