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>
Prevent exception when replying with a genericNoCapability error

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
ircdb: Deduplicate hostmasks in IrcUser.addAuth

If addAuth is called with a hostmask that already exists (exactly, not
just equivalent patterns) in self.auth, remove the entry for the old
authentication.  This essentially updates the timeout for the hostmask.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
Merge remote-tracking branch 'supybot/master' into testing

Conflicts:
	src/callbacks.py
	src/ircdb.py