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