CString("off").ToBool() shouldn't be true
rfc1459 states that PART can take multiple channels

Parameters: <channel>{,<channel>}

Fixes #175
Don't send our password required notice until after CAP negotiation

Conflicts:
	Client.cpp
CModule::OnMode(): Fix a stupid NULL pointer dereference

When joining a channel, OnMode() (via SetModes()) was called with pOpNick ==
NULL. This bad pointer was turned into a reference and given to modules.

This bug exists since 2008 when the OnMode() module call was added. It wasn't
noticed before because apparently no module used this CNick argument before.

Signed-off-by: Uli Schlachter <psychon@znc.in>

Conflicts:
	Chan.cpp
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

Conflicts:
	ClientCommand.cpp
route_replies: Add some WHOIS numerics

Charybdis can return all these.

Conflicts:
	modules/route_replies.cpp
Makefile: Remove unused (and broken) variable

Signed-off-by: Uli Schlachter <psychon@znc.in>
Don't make backup of znc.conf readable by everyone.

It doesn't really matter, since the whole ~/.znc/ is not readable, but
it's better to be safe.
autogen.sh: Check for pkg-config before calling automake

Signed-off-by: Uli Schlachter <psychon@znc.in>

Conflicts:
	autogen.sh
Don't redefine _FORTIFY_SOURCE if compiler already defines it