diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-15 19:46:28 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-15 19:46:28 +0000 |
commit | 90dcc24c2a780cd381617d39f6c3454925d9ec70 (patch) | |
tree | 9b08923794a77257a5b5c05dfa0fe089e44a961c | |
parent | 75e9b0aa6799c1b7477c9677398caf8ce2814e8d (diff) |
Test-compiled m_vhost, compiles fine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2802 e03df62e-2008-0410-955e-edbf42e46eb7
-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 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 != "") { |