summaryrefslogtreecommitdiff
path: root/modules/commands/cs_fantasy_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_fantasy_stats.cpp')
-rw-r--r--modules/commands/cs_fantasy_stats.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/commands/cs_fantasy_stats.cpp b/modules/commands/cs_fantasy_stats.cpp
index 7a4419e30..3e9d482b8 100644
--- a/modules/commands/cs_fantasy_stats.cpp
+++ b/modules/commands/cs_fantasy_stats.cpp
@@ -106,7 +106,7 @@ class CSStats : public Module
Anope::string display;
if (params.empty())
display = source.u->Account()->display;
- else if (NickAlias *na = findnick(params[0]))
+ else if (const NickAlias *na = findnick(params[0]))
display = na->nc->display;
else
{
@@ -165,4 +165,5 @@ void CommandCSGStats::Execute(CommandSource &source, const std::vector<Anope::st
me->DoStats(source, true, params);
}
-MODULE_INIT(CSStats) \ No newline at end of file
+MODULE_INIT(CSStats)
+