diff options
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r-- | src/modules/m_vhost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index a7ce8fd4a..71fadf2f9 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -47,13 +47,13 @@ class cmd_vhost : public command_t { if (mask != "") { - Srv->SendServ(user->fd,"NOTICE "+std::string(user->nick)+" :Setting your VHost: " + mask); + user->WriteServ("NOTICE "+std::string(user->nick)+" :Setting your VHost: " + mask); Srv->ChangeHost(user,mask); return; } } } - Srv->SendServ(user->fd,"NOTICE "+std::string(user->nick)+" :Invalid username or password."); + user->WriteServ("NOTICE "+std::string(user->nick)+" :Invalid username or password."); } }; |