summaryrefslogtreecommitdiff
path: root/modules/commands/ns_ghost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_ghost.cpp')
-rw-r--r--modules/commands/ns_ghost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_ghost.cpp b/modules/commands/ns_ghost.cpp
index 8b861e889..f68ddb83e 100644
--- a/modules/commands/ns_ghost.cpp
+++ b/modules/commands/ns_ghost.cpp
@@ -30,7 +30,7 @@ class CommandNSGhost : public Command
User *u = source.u;
User *user = finduser(nick);
- NickAlias *na = findnick(nick);
+ const NickAlias *na = findnick(nick);
if (!user)
source.Reply(NICK_X_NOT_IN_USE, nick.c_str());