Fix use of rsplit for IPv6 addresses.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
Factoids: Fix help of @random.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>