From 796c3832b6370267f03d662396996d5b193e1ac9 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 10 Oct 2018 14:27:07 +0100 Subject: We're supposed to support passwords with spaces! --- modules/permissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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"], -- cgit v1.3.1-10-gc9f91