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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp
index 224a9e3da..a8188701a 100644
--- a/src/cull_list.cpp
+++ b/src/cull_list.cpp
@@ -81,7 +81,7 @@ bool CullList::IsValid(userrec* user)
return false;
}
-CullItem::CullItem(userrec* u, std::string r)
+CullItem::CullItem(userrec* u, std::string &r)
{
this->user = u;
this->reason = r;
@@ -103,7 +103,7 @@ CullList::CullList()
exempt.clear();
}
-void CullList::AddItem(userrec* user, std::string reason)
+void CullList::AddItem(userrec* user, std::string &reason)
{
if (exempt.find(user) == exempt.end())
{