From 9a1373022ea968aa84324eb6db8e3f3a001297d1 Mon Sep 17 00:00:00 2001 From: citrons Date: Sun, 8 Aug 2021 00:47:28 +0000 Subject: fix typo --- apioforum/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3