summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
Diffstat (limited to 'poezio')
-rw-r--r--poezio/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/decorators.py b/poezio/decorators.py
index ee138744..ae975399 100644
--- a/poezio/decorators.py
+++ b/poezio/decorators.py
@@ -209,7 +209,7 @@ class CommandArgParser:
command_args_parser = CommandArgParser()
-def deny_anonymous(func: Callable) -> Callable:
+def deny_anonymous(func: T) -> T:
"""Decorator to disable commands when using an anonymous account."""
def before(args: Any, kwargs: Any) -> Any: