summaryrefslogtreecommitdiff
path: root/shared/privilege.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/privilege.h')
-rw-r--r--shared/privilege.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/privilege.h b/shared/privilege.h
index 4775fcef..3085c8c8 100644
--- a/shared/privilege.h
+++ b/shared/privilege.h
@@ -40,7 +40,7 @@ private:
try
{
if (i->second)
- Privileges::setPrivilege(i->first, false);
+ Privileges::setPrivilege(i->first.c_str(), false);
}
catch(...) {}
}
bgstack15