mirror of
https://github.com/anope/anope.git
synced 2026-07-09 22:03:12 +02:00
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each other
This commit is contained in:
@@ -28,13 +28,13 @@ class CommandHSOff : public Command
|
||||
if (!u)
|
||||
return;
|
||||
|
||||
const NickAlias *na = findnick(u->nick);
|
||||
const NickAlias *na = NickAlias::Find(u->nick);
|
||||
|
||||
if (!na || !na->HasVhost())
|
||||
source.Reply(HOST_NOT_ASSIGNED);
|
||||
else
|
||||
{
|
||||
ircdproto->SendVhostDel(u);
|
||||
IRCD->SendVhostDel(u);
|
||||
Log(LOG_COMMAND, source, this) << "to disable their vhost";
|
||||
source.Reply(_("Your vhost was removed and the normal cloaking restored."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user