aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcitrons <citrons>2021-08-08 00:47:28 +0000
committercitrons <citrons>2021-08-08 00:47:28 +0000
commit9a1373022ea968aa84324eb6db8e3f3a001297d1 (patch)
tree68c12137a0861b5ba999cb726e437eed826fd402
parent8ae879fdfe18997a82535ed64acc40fe281d759c (diff)
fix typo
-rw-r--r--apioforum/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/thread.py b/apioforum/thread.py
index a3a122a..e9deea8 100644
--- a/apioforum/thread.py
+++ b/apioforum/thread.py
@@ -314,7 +314,7 @@ def config_thread(thread_id):
err = None
if g.user is None:
err = "you need to be logged in to do that"
- elif g.user != thread['creator'] and not has_permission(thread['forum'], g.user, "g_manage_threads"):
+ elif g.user != thread['creator'] and not has_permission(thread['forum'], g.user, "p_manage_threads"):
err = "you can only configure threads that you own"
if err is not None: