diff --git a/irc/nickchan.go b/irc/nickchan.go index a050373..382862c 100644 --- a/irc/nickchan.go +++ b/irc/nickchan.go @@ -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()) } } }