summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/user.py b/poezio/user.py
index f32f1fc9..45af17b4 100644
--- a/poezio/user.py
+++ b/poezio/user.py
@@ -58,7 +58,7 @@ class User(object):
self.affiliation = affiliation
self.show = show
self.status = status
- if role not in ROLE_DICT: # avoid unvalid roles
+ if role not in ROLE_DICT: # avoid invalid roles
role = ''
self.role = role