From 6bb5558c46dd3b633422bd11dc1da2d31f4e73c8 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Thu, 4 Nov 2010 00:06:27 +0000 Subject: [PATCH] Bugfix -- there could be other integer modes than +l. --- irc/nickchan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) } } }