aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd_rehash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_rehash.cpp')
-rw-r--r--src/cmd_rehash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_rehash.cpp b/src/cmd_rehash.cpp
index c0f206b55..d36f46ab6 100644
--- a/src/cmd_rehash.cpp
+++ b/src/cmd_rehash.cpp
@@ -35,7 +35,7 @@ CmdResult cmd_rehash::Handle (const char** parameters, int pcnt, userrec *user)
}
// If it's not got a param or the param doesn't look like a module-owned one (e.g. servermask)
- if (!pcnt || parameters[0][0] != "-")
+ if (!pcnt || parameters[0][0] != '-')
{
ServerInstance->WriteOpers("*** %s is rehashing config file %s",user->nick,ServerConfig::CleanFilename(ServerInstance->ConfigFileName));
ServerInstance->CloseLog();