Commit Graph

15 Commits

Author SHA1 Message Date
Alexey Sokolov
c48a686f2b Put version info to config during --makeconf
This fixes erroneous message
"Found old config from ZNC < 0.203. Saving a backup of it." when
creating new config.
2012-04-15 10:09:36 +07:00
Alexey Sokolov
fb2b5193bc Show link to http://znc.in from web 2012-03-22 04:27:26 +07:00
Alexey Sokolov
c98abf00a5 Implement protection from flood.
For ZNC-server connection
2012-03-21 19:48:26 +07:00
Alexey Sokolov
819776873d Add SSL/IPv6/DNS info to znc --version 2012-03-15 01:38:37 +07:00
Alexey Sokolov
ddb1af86fd Ask for port > 1024 in --makeconf
There're so many people who try lower ports and get permission denied :(
Who really wants to use privileged port, can add it using /znc addport
2012-03-10 08:24:19 +07:00
Kyle Fuller
b9ff3ddcb1 The connect queue shouldn't be unpaused when ZNC starts 2012-02-14 19:34:02 +00:00
Kyle Fuller
30fb68023b Pause connect queue should pause and resume a timer
So we don't cheat the connect delay
2012-02-14 19:22:50 +00:00
Kyle Fuller
e47f76db6c Allow the connection queue to be paused 2012-02-14 19:22:33 +00:00
Uli Schlachter
95d6041018 Fix a busy loop with the connection queue
If connecting to a server failed without needing any time for DNS, the connect
timer would busy loop over the networks, because a network re-inserted itself
into the queue and the timer would try the network again.

Fix this by moving the connection queue to a separate instance of std::list when
the timer fires. From then on, we just iterate through that list while networks
which want to try again add themselves to the "real" connection queue instead.

We only have to make sure that any networks that are left in the old connection
queue after the timer is done get prepended to the "real" connection queue.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-02-04 19:53:03 +01:00
Un1matr1x
73270ff023 Welcome in 2012 2012-01-01 09:30:19 +01:00
Uli Schlachter
9140a0dbd5 CZNC::WriteConfig(): Better --debug output
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-10-30 13:42:36 +01:00
Kyle Fuller
8659d7224a Make UpdateModule reload the module for every module type
UpdateModule has been moved to CZNC because it doesn't really fit into
CUser. The new UpdateModule will reload the module for global modules,
user modules and network modules.

Fixes #69
2011-10-19 10:47:55 +00:00
Kyle Fuller
a4aedc90d3 Create a connection queue including all the networks we need to connect 2011-10-04 15:59:28 +00:00
Alexey Sokolov
59c62150d4 Tell users to use user/network:pass in --makeconf 2011-09-28 21:20:21 +07:00
Alexey Sokolov
afeab4a9e6 Move core .cpp files to src/ 2011-09-23 03:33:13 +07:00