summaryrefslogtreecommitdiff
path: root/src/cull_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cull_list.cpp')
-rw-r--r--src/cull_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp
index e05d44918..80d7ddb97 100644
--- a/src/cull_list.cpp
+++ b/src/cull_list.cpp
@@ -73,7 +73,7 @@ void CullList::Apply()
classbase* c = queue[i];
delete c;
}
- if (list.size())
+ if (!list.empty())
{
ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "WARNING: Objects added to cull list in a destructor");
Apply();