Initialize local_count
m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULL
m_httpd_acl Reread config on rehash
m_channames Fix iteration in ValidateChans()

Spotted by @Adam-
m_mysql Fix crash on rehash when the database tags have been changed in the config
Update authors
m_nicklock Fix wrong hook in SetPriority()
m_userip Allow querying own IP for non-opers, require the users/auspex priv for opers to query the IP of others

Issue #513 suggested by @CuleX
m_mysql Fix escaping strings longer than MAXBUF/2

Quotes from the documentation:
"You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)"

"The return value is the length of the encoded string, not including the terminating null character."

http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html
cmd_who Hide +i users when listing users on a server and hidewhois is off

Fixes #547 reported by @RawrDragon
m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d
Fix inet_pton on Windows with IPv6 addresses

Code from Anope win32/socket.cpp by @Adam-
m_spanningtree Fix FIDENT routing

A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
Report the full GnuTLS version in configure

Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)
Remove unnecessary string copies and dead code
Release 2.0.13
Fix high CPU use on Windows when connecting to a server

When getting a write event for an EventHandler that wanted a single write only, remove it from the WriteSet (socketengine_select)

Fixes #556 reported by @WindowsUser
m_spanningtree FJOIN handler: Merge and take maxmodes into consideration when applying non-prefix modes
Prevent m_cgiirc from blocking indefinitely, resulting in registration timeouts on e.g. Mibbit when webirc is not used
Merge pull request #563 from ElementalAlchemist/patch-1

Prevent m_cgiirc from blocking indefinitely