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
1 changed files with 1 additions and 1 deletions

View File

@ -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())
} }
} }
} }