summaryrefslogtreecommitdiff
path: root/src/commands/cmd_quit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_quit.cpp')
-rw-r--r--src/commands/cmd_quit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_quit.cpp b/src/commands/cmd_quit.cpp
index d041fc031..5db7ada40 100644
--- a/src/commands/cmd_quit.cpp
+++ b/src/commands/cmd_quit.cpp
@@ -41,7 +41,7 @@ CmdResult CommandQuit::Handle (const std::vector<std::string>& parameters, User
if (IS_LOCAL(user))
{
- if (*ServerInstance->Config->FixedQuit)
+ if (!ServerInstance->Config->FixedQuit.empty())
quitmsg = ServerInstance->Config->FixedQuit;
else
quitmsg = parameters.size() ?