Update Csocket to ef6bcb9d5c1aecd778c5a57604eabdcb5e1ee06e
Join channels immediately after spoof if set

This patch makes the client start joining its channels as soon as its
spoof if set, if the user uses JoinAfterCloaked.
Split CUserTimer into CIRCNetworkPingTimer and CIRCNetworkJoinTimer

This patch splits CUserTimer into two other timers:

CIRCNetworkPingTimer: This timer sends PING messages to connected
client's and IRC servers.

CIRCNetworkJoinTimer: This timer enforces the MaxJoin setting by only
allowing a specified amount of channels to join at the same time.

JoinChans() is modified to reset the ping timer once we hit the MaxJoin.
This allows us to call it from any function without breaking the timing
logic.
Start joining channels as soon as we are connected
Add PING_TIMEOUT constant to CIRCNetwork
Merge pull request #560 from ahf/join-channels-on-connect

Start joining channels immediately after connect
Make autoop & autovoice gender neutral.
Merge pull request #584 from Mkaysi/folks

modules/autoop.cpp & autovoice.cpp: Be more gender neutral.
NickServ module will now correctly identify NickServ on tddirc.net
Merge pull request #589 from wbierman/master

NickServ module will now correctly identify NickServ on tddirc.net
Less magic numbers for timeout settings

Currently the connection timeout handling of znc uses three magic numbers, each
of which is at least repeated in two unrelated places. This commits defines the
numbers in CIRCNetwork and makes the other places just use this number.

This also renames PING_TIMEOUT to PING_FREQUENCY because I feel that describes
this constant better.

I am not really happy about the name NO_TRAFFIC_TIMEOUT that is used for the
real timeout, but I couldn't think of a better name. PING_TIMEOUT isn't good
because that sounds like the time between sending a PING and the resulting
timeout.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Fix typo in last commit

Thanks to drbean for reporting this in FreeNode/#znc.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Store CTCP ACTIONs recieved as well as normal PRIVMSGs.

Prepends CTCP ACTION messages recieved with a "* " before storing them.
Additionally change AddMessage to accept const CString&
Merge pull request #599 from NuclearW/awaystore-action

In awaystore, store CTCP ACTIONs
make the log filename lower case always

this fixes an annoying bug where two separate log files will be written
if an irc client sends to channel #Foobar and another irc client sends
to channel #foobar.
Merge pull request #590 from FruitieX/master

Use only lower case characters in log filenames
Add numerics 307 and 379 to route_replies for whois
UnrealIRCd (at least version Unreal3.2.10+) sends numerics 307 and 379 on whois if the client is an IRCop.
These are non-rfc and they can be seen documented here: https://www.alien.net.au/irc/irc2numerics.html
Merge pull request #600 from NuclearW/route-reply

Add numerics 307 and 379 to route_replies for whois
Add timestamp parsing to awaystore away messages
Pass the given reason through CUtils::FormatTime before setting it, allows use of strftime formatting in away messages.
Merge pull request #611 from NuclearW/awaystore-timestamp

Add timestamp parsing to awaystore away messages