diff options
author | Adam <Adam@anope.org> | 2011-03-11 00:47:28 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-11 00:47:28 -0500 |
commit | 1ee3d3d81034c2e2d8c1bf55db8963a50e35f363 (patch) | |
tree | d8952ff4d27e144eedd63a056971dfc2b1af5411 /modules/core/ns_recover.cpp | |
parent | 97c2e0957d32c87e1055041e43eb13a4a26d0765 (diff) |
Added os_config and support for including additional configuration files.
Diffstat (limited to 'modules/core/ns_recover.cpp')
-rw-r--r-- | modules/core/ns_recover.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/core/ns_recover.cpp b/modules/core/ns_recover.cpp index af50ed573..5e7e8c175 100644 --- a/modules/core/ns_recover.cpp +++ b/modules/core/ns_recover.cpp @@ -51,7 +51,7 @@ class CommandNSRecover : public Command u2->Collide(na); /* Convert Config->NSReleaseTimeout seconds to string format */ - Anope::string relstr = duration(na->nc, Config->NSReleaseTimeout); + Anope::string relstr = duration(Config->NSReleaseTimeout); source.Reply(_(NICK_RECOVERED), Config->s_NickServ.c_str(), nick.c_str(), relstr.c_str()); } @@ -74,7 +74,7 @@ class CommandNSRecover : public Command u2->Collide(na); /* Convert Config->NSReleaseTimeout seconds to string format */ - Anope::string relstr = duration(na->nc, Config->NSReleaseTimeout); + Anope::string relstr = duration(Config->NSReleaseTimeout); source.Reply(_(NICK_RECOVERED), Config->s_NickServ.c_str(), nick.c_str(), relstr.c_str()); } @@ -87,7 +87,7 @@ class CommandNSRecover : public Command bool OnHelp(CommandSource &source, const Anope::string &subcommand) { /* Convert Config->NSReleaseTimeout seconds to string format */ - Anope::string relstr = duration(source.u->Account(), Config->NSReleaseTimeout); + Anope::string relstr = duration(Config->NSReleaseTimeout); source.Reply(_("Syntax: \002RECOVER \037nickname\037 [\037password\037]\002\n" " \n" |