Commit cd33e4ba authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Bugfix: Do not leak stored password from session started in LysKOM

buffer.
parent 52f2ccb9
2004-12-04 Pontus Freyhult <pont@soua.net>
Bugfix: Do not leak password from session started in LysKOM buffer.
* startup.el (lyskom): Do not send password if host
differs from the server it was given for.
2004-11-16 Pontus Freyhult <pont@soua.net>
* lyskom-rest.el (lyskom-update-prompt): Use lyskom-session-nickname.
......
......@@ -99,7 +99,11 @@ clients of the event. See lyskom-mode for details on lyskom."
(getenv "KOMNAME")))
(setq password
(or password
lyskom-default-password
(when (and lyskom-default-password ; Got default password?
(or (not lyskom-server-name) ; For this host?
(string= lyskom-server-name
host)))
lyskom-default-password)
kom-default-password
(getenv "KOMPASSWORD")))
(if (zerop (length host))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment