aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_vhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r--src/modules/m_vhost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp
index bda8a9a3c..3f580029b 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -74,12 +74,12 @@ class CommandVhost : public Command
{
user->WriteNotice("Setting your VHost: " + config.vhost);
user->ChangeDisplayedHost(config.vhost);
- return CMD_SUCCESS;
+ return CmdResult::SUCCESS;
}
}
user->WriteNotice("Invalid username or password.");
- return CMD_FAILURE;
+ return CmdResult::FAILURE;
}
};