Check detachedness of chans. Fix #220
Makefile: Fix generation of the VERSION_EXTRA flag

When you checkout the znc-1.0 tag and try to build znc, this will fail. The
reason is that "git describe" prints just "znc-1.0" and the sed-magic in the
Makefile fails to handle this correctly.

Fix this by moving this magic into a short shell script which doesn't try to
parse the output of "git describe" but instead gets its information from various
sources directly.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Make default type of cert mod to be network.
Fix renaming away to awaystore for user modules.

When it was renamed, it already was a network module, and IRCNetwork got
a check for away module.
But users of 0.206 and earlier have this module loaded as user module,
they even can't have networks at all, so the renaming didn't go smooth
for them :(

It's broken in 1.0 already anyway, but users who skip 1.0 and upgrade
from older version to 1.2+ directly will be happier.

Thanks to Ammler (Marcel Gmür) for reporting it.
Merge commit 'refs/pull/263/head' of github.com:znc/znc
Fix detached 363 too
Merge branch 'detached-fix'
DETACH should support the same syntax as PART (except no message)

Closes #225, this isn't the same as #225, but `/msg *status detach` is
something different, since it supports wildcard matching.
Make /znc detach case insensitive

Closes #213
Ignore the .version_extra file
Fix my fix which was supposed to fix #220

Thanks to KindOne for reporting the issue with that fix.

363 numeric was sent twice to the client for attached channels.
Merge branch 'master' of github.com:znc/znc
Fix changing client nick when client connects.

If nicks are equal, it's not changed. The problem was that equality was
checked case-insensitively.

This makes some clients which compare nicks case-sensitively think that
JOINs which we send to them, are not related to the user, it's someone
else joining. So Konversation users which have lower case version of
their IRC nick configured in Konversation settings, didn't get their
channel opened when connecting to ZNC.

Thanks to Axanon for helping to investigate the issue.
Fix OOT builds with swig files in source dir

Normally, when the Makefile calls swig, the resulting files end up in the build
directory. However, when the files are pre-generated (e.g. as in the znc 1.0
tarball) and an out of tree build is used, they are in the source directory and
installation fails.

Thanks to Kinji for reporting this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Don't disconnect networkless users without PINGing them first.

Thanks to Austin for reporting this issue.
The same procedure as last year, Miss sophie?
Same procedure as every year, James.
Merge pull request #268 from Un1matr1x/2013

2012 is over!
modules/sasl.cpp: Description line for DH-BLOWFISH

Added a description to the output for DH-BLOWFISH SASL mechanism.
Merge pull request #281 from TheLordOfTime/master

Modify modules/sasl.cpp to have a DH-BLOWFISH mechanism description
It's 2013 now (few modules were forgotten :P)