summaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-02-25 19:23:46 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-02-25 19:23:46 +0100
commit42b7f65a06e9307bf18deff2837535730b895d4a (patch)
treeaa2c8a71bcadc1946df3b662572be1b0f9288bb2 /src/modules/m_check.cpp
parent1b8f7ef94aaf6dc309df76d3c4330a4288979d25 (diff)
Remove unnecessary std::string::c_str() calls
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 22dcf730f..b6665f29b 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -97,7 +97,7 @@ class CommandCheck : public Command
CmdResult Handle (const std::vector<std::string> &parameters, User *user)
{
- if (parameters.size() > 1 && parameters[1] != ServerInstance->Config->ServerName.c_str())
+ if (parameters.size() > 1 && parameters[1] != ServerInstance->Config->ServerName)
return CMD_SUCCESS;
User *targuser;