Commit d79eee32 authored by Linus Tolke's avatar Linus Tolke
Browse files

remove-motd now has myself as default.

parent ec25f492
...@@ -983,7 +983,7 @@ TYPE is either 'pres or 'motd, depending on what should be changed." ...@@ -983,7 +983,7 @@ TYPE is either 'pres or 'motd, depending on what should be changed."
(lyskom-completing-read (lyskom-completing-read
'main 'lyskom-unset-conf-motd 'main 'lyskom-unset-conf-motd
(lyskom-get-string 'who-to-remove-motd-for) (lyskom-get-string 'who-to-remove-motd-for)
nil nil "")) nil 'empty ""))
(defun lyskom-unset-conf-motd (conf) (defun lyskom-unset-conf-motd (conf)
...@@ -994,7 +994,9 @@ conf-stat." ...@@ -994,7 +994,9 @@ conf-stat."
(lyskom-insert-string 'cant-get-conf-stat) (lyskom-insert-string 'cant-get-conf-stat)
(lyskom-end-of-command)) (lyskom-end-of-command))
((numberp conf) ((numberp conf)
(initiate-get-conf-stat 'main 'lyskom-unset-conf-motd conf)) (initiate-get-conf-stat 'main 'lyskom-unset-conf-motd (if (zerop conf)
lyskom-pers-no
conf)))
((or lyskom-is-administrator ((or lyskom-is-administrator
(lyskom-member-p (conf-stat->supervisor conf))) (lyskom-member-p (conf-stat->supervisor conf)))
(lyskom-set-conf-motd 0 (conf-stat->conf-no conf)) (lyskom-set-conf-motd 0 (conf-stat->conf-no conf))
......
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