diff options
Diffstat (limited to 'modules/core/ns_release.cpp')
-rw-r--r-- | modules/core/ns_release.cpp | 3 |
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" |