kunt

golang IRC bot
git clone git://git.2f30.org/kunt
Log | Files | Refs | LICENSE

commit 181af591ba7642c729c5a8439e367695eec8319c
parent 5309c0cb0381d01e0b2d5a0c0e3bf44589f7577e
Author: sin <sin@2f30.org>
Date:   Thu, 30 May 2013 01:00:01 +0100

fix return

Diffstat:
Msrc/irc/irc.go | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/irc/irc.go b/src/irc/irc.go @@ -110,9 +110,8 @@ func MakeChanIter(i *Context) ChanIter { if j < len(i.network.channels) { j++ return &i.network.channels[j], true - } else { - return nil, false } + return nil, false } }