cmd_invite Check if the inviting user is on the channel before potentially telling him the target is already on it
cmd_stats List opers without iterating the whole userlist
Fix LUSERS not working in a PURE_STATIC build
Don't attempt to unload or reload modules that are waiting to be unloaded
Remove some uline checks that ran after an IS_LOCAL() check
m_spanningtree Create new TreeServers for incoming connections only when they've accepted our credentials, not when they send SERVER
Fix ModuleManager error caused by a lack of arguments.
Merge pull request #484 from SaberUK/insp20+fix-modulemanager

Fix ModuleManager error caused by a lack of arguments.
Do not enable SO_LINGER on our sockets

Using this option allowed close() to block for up to a second

Thanks to Shamsdeen and Rix for their assistance that made this fix possible

Fixes issue #445 reported by @shaggie76
Fixes issue #494 reported by @Rixcho