I wonder why Heiko was removed from AUTHORS years ago...
updated email addr for Jim Hull
Fix use-after-free which may happen during shutdown

If a module, e.g. keepnick, tries to remove a timer in
OnIRCDisconnected.

Thanks to KindOne for the report.
Improve the way that VERSION_EXTRA is calculated

Instead of doing magic with the result from version.sh so that we can add a
preprocessor macro, the script now just writes src/version.cpp with the expected
content. This should fix all the various issues that we have with quoting the
arguments and things that go wrong when not building znc from a git clone.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Don't ever try to overwrite /usr/bin/git

Previously, version.sh got the path to git as its first and only argument. Since
the previous commit, this is not the path to src/version.cpp and the second
argument is the path to git.

However, let's assume someone does "git pull && make". They still have the old
Makefile laying around, which will pass the path to git as the first argument to
version.sh. Thus, this will overwrite /usr/bin/git with some generated source
code. Whoops.

Thanks to KindOne for reporting this problem!

Signed-off-by: Uli Schlachter <psychon@znc.in>
Fix #275, close #297
Fix git version in nightlies
A bit more beatiful way to build modules
Fix #313
Implement DH-AES encrypted password scheme.

This is superior to DH-BLOWFISH as Blowfish may suffer from certain
classes of weak keys, which is difficult to mitigate against without
regenerating DH parameters repeatedly. AES also has faced far more
scrutiny and is believed to be more secure.

Reference implementation (services-side):
https://github.com/atheme/atheme/blob/master/modules/saslserv/dh-aes.c
Merge pull request #321 from Elizacat/master

Implement DH-AES password encryption scheme.
Fix memory leak. Oops :(.

Found by KindOne on IRC. Thanks!
Merge pull request #324 from Elizacat/master

Fix minor memory leak
sasl: Add missing length check

This could otherwise lead to an integer underflow on specially crafted input.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Allow block_motd to be loaded per-network and globally

Closes #326