mirror of https://github.com/fluffle/goirc
Fix example code, oops.
This commit is contained in:
parent
82bcd7aded
commit
be9257d323
|
@ -73,7 +73,7 @@ func main() {
|
||||||
c.Quit(cmd[idx+1 : len(cmd)])
|
c.Quit(cmd[idx+1 : len(cmd)])
|
||||||
case cmd[1] == 's':
|
case cmd[1] == 's':
|
||||||
reallyquit = true
|
reallyquit = true
|
||||||
c.Shutdown()
|
c.Close()
|
||||||
case cmd[1] == 'j':
|
case cmd[1] == 'j':
|
||||||
c.Join(cmd[idx+1 : len(cmd)])
|
c.Join(cmd[idx+1 : len(cmd)])
|
||||||
case cmd[1] == 'p':
|
case cmd[1] == 'p':
|
||||||
|
|
Loading…
Reference in New Issue