summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-18 17:27:51 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-18 17:27:51 +0000
commitade1c467be9a92bdb05f4356d2efd075e82e32fc (patch)
tree771d08d0bc6b2ea41d83f250b2381f36565bdcfd /src
parentd2a1d1df4323c95e926618d1839833cbc12f60ab (diff)
Remove some unneccessary .c_str() calls
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9734 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index afd26b1f8..0b797f5ee 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1720,7 +1720,7 @@ ConnectClass* User::SetClass(const std::string &explicit_name)
ConnectClass* c = *i;
/* check if host matches.. */
- if (((!match(this->GetIPString(),c->GetHost().c_str(),true)) && (!match(this->host,c->GetHost().c_str()))))
+ if (((!match(this->GetIPString(),c->GetHost(),true)) && (!match(this->host,c->GetHost()))))
{
ServerInstance->Logs->Log("CONNECTCLASS", DEBUG, "No host match (for %s)", c->GetHost().c_str());
continue;