We're supposed to support passwords with spaces!
This commit is contained in:
parent
5b9ffe013d
commit
796c3832b6
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
hash, salt = self._get_hash(event["server"], event["user"].nickname)
|
hash, salt = self._get_hash(event["server"], event["user"].nickname)
|
||||||
if not hash and not salt:
|
if not hash and not salt:
|
||||||
password = event["args_split"][0]
|
password = event["args"]
|
||||||
hash, salt = self._make_hash(password)
|
hash, salt = self._make_hash(password)
|
||||||
event["user"].set_setting("authentication", [hash, salt])
|
event["user"].set_setting("authentication", [hash, salt])
|
||||||
self._identified(event["server"], event["user"],
|
self._identified(event["server"], event["user"],
|
||||||
|
|
Loading…
Reference in a new issue