summaryrefslogtreecommitdiff
path: root/modules/commands/hs_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/hs_set.cpp')
-rw-r--r--modules/commands/hs_set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/hs_set.cpp b/modules/commands/hs_set.cpp
index b2509bcea..2189f2483 100644
--- a/modules/commands/hs_set.cpp
+++ b/modules/commands/hs_set.cpp
@@ -55,7 +55,7 @@ class CommandHSSet : public Command
if (!user.empty())
{
- if (!ircd->vident)
+ if (!ircdproto->CanSetVIdent)
{
source.Reply(HOST_NO_VIDENT);
return;
@@ -156,7 +156,7 @@ class CommandHSSetAll : public Command
if (!user.empty())
{
- if (!ircd->vident)
+ if (!ircdproto->CanSetVIdent)
{
source.Reply(HOST_NO_VIDENT);
return;