mirror of
https://github.com/anope/anope.git
synced 2026-07-04 18:53:13 +02:00
Reworked live SQL support yet again
This commit is contained in:
@@ -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)
|
||||
MODULE_INIT(CSStats)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user