aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-10 14:27:07 +0100
committerGravatar jesopo2018-10-10 14:27:07 +0100
commit796c3832b6370267f03d662396996d5b193e1ac9 (patch)
tree1daa96827e47463738f0152873ce2cf3856be872 /modules
parentUse signal.alarm to Deadline utils.http.get_url and throw useful exceptions (diff)
signature
We're supposed to support passwords with spaces!
Diffstat (limited to 'modules')
-rw-r--r--modules/permissions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/permissions.py b/modules/permissions.py
index a43741c1..8a6c804b 100644
--- a/modules/permissions.py
+++ b/modules/permissions.py
@@ -95,7 +95,7 @@ class Module(ModuleManager.BaseModule):
hash, salt = self._get_hash(event["server"], event["user"].nickname)
if not hash and not salt:
- password = event["args_split"][0]
+ password = event["args"]
hash, salt = self._make_hash(password)
event["user"].set_setting("authentication", [hash, salt])
self._identified(event["server"], event["user"],