summaryrefslogtreecommitdiff
path: root/modules/core/ns_release.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-11 00:47:28 -0500
committerAdam <Adam@anope.org>2011-03-11 00:47:28 -0500
commit1ee3d3d81034c2e2d8c1bf55db8963a50e35f363 (patch)
treed8952ff4d27e144eedd63a056971dfc2b1af5411 /modules/core/ns_release.cpp
parent97c2e0957d32c87e1055041e43eb13a4a26d0765 (diff)
Added os_config and support for including additional configuration files.
Diffstat (limited to 'modules/core/ns_release.cpp')
-rw-r--r--modules/core/ns_release.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/ns_release.cpp b/modules/core/ns_release.cpp
index 1a0319b78..d77bd113b 100644
--- a/modules/core/ns_release.cpp
+++ b/modules/core/ns_release.cpp
@@ -72,8 +72,7 @@ class CommandNSRelease : public Command
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
{
/* Convert Config->NSReleaseTimeout seconds to string format */
- User *u = source.u;
- Anope::string relstr = duration(u->Account(), Config->NSReleaseTimeout);
+ Anope::string relstr = duration(Config->NSReleaseTimeout);
source.Reply(_("Syntax: \002RELEASE \037nickname\037 [\037password\037]\002\n"
" \n"