diff options
author | Matt Schatz <genius3000@g3k.solutions> | 2019-11-11 19:00:24 -0700 |
---|---|---|
committer | Matt Schatz <genius3000@g3k.solutions> | 2019-11-11 19:15:54 -0700 |
commit | 661b320d2359e36cc172c2417a6f0cf19b4b4e73 (patch) | |
tree | 1ec64834af148ac38567aeff1fd2a6fa3e1a891e /modules/commands/ns_group.cpp | |
parent | ae7706ae55e107c86f1ef0e26c3fc2ac4bc05757 (diff) |
Look up unconfirmedexpire from the correct module.
- NickServ INFO and GLIST were looking in the wrong module.
Diffstat (limited to 'modules/commands/ns_group.cpp')
-rw-r--r-- | modules/commands/ns_group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp index 28faa96ca..da4fb91b0 100644 --- a/modules/commands/ns_group.cpp +++ b/modules/commands/ns_group.cpp @@ -326,7 +326,7 @@ class CommandNSGList : public Command ListFormatter list(source.GetAccount()); list.AddColumn(_("Nick")).AddColumn(_("Expires")); time_t nickserv_expire = Config->GetModule("nickserv")->Get<time_t>("expire", "21d"), - unconfirmed_expire = Config->GetModule("nickserv")->Get<time_t>("unconfirmedexpire", "1d"); + unconfirmed_expire = Config->GetModule("ns_register")->Get<time_t>("unconfirmedexpire", "1d"); for (unsigned i = 0; i < nc->aliases->size(); ++i) { const NickAlias *na2 = nc->aliases->at(i); |