From 90dcc24c2a780cd381617d39f6c3454925d9ec70 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 Jan 2006 19:46:28 +0000 Subject: Test-compiled m_vhost, compiles fine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2802 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_vhost.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index 238de02e0..6809f9a3a 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -39,9 +39,9 @@ class cmd_vhost : public command_t for (int index = 0; index < Conf->Enumerate("vhost"); index++) { std::string mask = Conf->ReadValue("vhost","host",index); - std::string user = Conf->ReadValue("vhost","user",index); + std::string username = Conf->ReadValue("vhost","user",index); std::string pass = Conf->ReadValue("vhost","pass",index); - if ((!strcmp(parameters[0],user.c_str())) && (!strcmp(parameters[1],pass.c_str()))) + if ((!strcmp(parameters[0],username.c_str())) && (!strcmp(parameters[1],pass.c_str()))) { if (mask != "") { -- cgit v1.2.3