1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-12 18:44:50 +00:00

Bugfix -- there could be other integer modes than +l.

This commit is contained in:
Alex Bramley 2010-11-04 00:06:27 +00:00
parent ff61bc9ea1
commit 6bb5558c46

View file

@ -326,7 +326,7 @@ func (cm *ChanMode) String() string {
case *reflect.IntValue:
if f.Get() != 0 {
str += ChanModeToString[t.Field(i).Name]
a[1] = fmt.Sprintf("%d", cm.Limit)
a[1] = fmt.Sprintf("%d", f.Get())
}
}
}