diff options
| author | 2017-08-13 16:26:48 +0100 | |
|---|---|---|
| committer | 2017-09-03 20:20:30 +0100 | |
| commit | e7c829af5941c6a8a303ca75ed9ac47570347e41 (patch) | |
| tree | a40aa5b57346eb0b83e6f6b2cef1df36732800e5 /src/configreader.cpp | |
| parent | Move <dns:timeout> out of the core. (diff) | |
Convert a bunch of time-related config options to getDuration.
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 220026155..f29356c0c 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -310,8 +310,8 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current) me->name = name; - me->registration_timeout = tag->getInt("timeout", me->registration_timeout); - me->pingtime = tag->getInt("pingfreq", me->pingtime); + me->registration_timeout = tag->getDuration("timeout", me->registration_timeout); + me->pingtime = tag->getDuration("pingfreq", me->pingtime); std::string sendq; if (tag->readString("sendq", sendq)) { |
