diff options
Diffstat (limited to 'modules/commands/hs_off.cpp')
| -rw-r--r-- | modules/commands/hs_off.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_off.cpp b/modules/commands/hs_off.cpp index c9c2fecd1..bf7d92dba 100644 --- a/modules/commands/hs_off.cpp +++ b/modules/commands/hs_off.cpp @@ -25,7 +25,7 @@ class CommandHSOff : public Command void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override { User *u = source.u; - NickAlias *na = findnick(u->nick); + const NickAlias *na = findnick(u->nick); if (!na || !na->HasVhost()) source.Reply(HOST_NOT_ASSIGNED); |
