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>
setup.py: Change format of the version number (illegal in rpm and buggy in deb packages).
Misc: Adapt GitHub's version format to the new one (introduced in 0fb2ee1bf74).
setup.py: Fix 0fb2ee1bf74 for Git version.
Seen: Fix docstring of @since.
Fix error when writing hostmask-collision error message.
Format: Add command @stripformatting.
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
Fix merge.