summaryrefslogtreecommitdiff
path: root/modules/commands/ns_group.cpp
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2019-11-11 19:00:24 -0700
committerMatt Schatz <genius3000@g3k.solutions>2019-11-11 19:15:54 -0700
commit661b320d2359e36cc172c2417a6f0cf19b4b4e73 (patch)
tree1ec64834af148ac38567aeff1fd2a6fa3e1a891e /modules/commands/ns_group.cpp
parentae7706ae55e107c86f1ef0e26c3fc2ac4bc05757 (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.cpp2
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);