Add detached only support to the watch module.
Add missing include for `sys/stat.h`.
Merge pull request #400 from stephank/patch-1

Add missing include for `sys/stat.h`.
ax_pthread: Check for g++ instead of gcc

Surprisingly, ZNC is written in C++, not C and thus needs a C++ compiler, not a
C one.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Fix version number generation from tarballs on openbsd

Thanks to fred for reporting this
Fix a crash when you delete a user with more than one attached client

Fixes #403
Correct two typos.
Correct double output in controlpanel.
Use gtest for EscapeTest
Fix test, make travis output more verbose
Make travis show config.log
Implemented a nick compare function

As suggested by the todos in IRCSock, added IsNick(CString) method
so the ugly Nick.GetNick().Equals(GetNick()) could be simplified.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
Renamed IsNick to NickEquals

Also added a TODO to add proper IRC case comparing.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
Replaced the GetNick().Equals() with NickEquals() where possible

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
Merge pull request #416 from schoentoon/master

Implemented a nick compare function
controlpanel.cpp: Modify the message for when you attempt to delete the currently active network
Rename EscapeTest to StringTest
Force including zncconfig.h at the beginning of every .cpp

Otherwise it's easy to have STL compiled with different options in
different .cpp's, which leads to very weird crashes.
More string tests.
Test CConfig too