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."
'main 'lyskom-unset-conf-motd
(lyskom-get-string 'who-to-remove-motd-for)
nil nil ""))
nil 'empty ""))
(defun lyskom-unset-conf-motd (conf)
......@@ -994,7 +994,9 @@ conf-stat."
(lyskom-insert-string 'cant-get-conf-stat)
((numberp conf)
(initiate-get-conf-stat 'main 'lyskom-unset-conf-motd conf))
(initiate-get-conf-stat 'main 'lyskom-unset-conf-motd (if (zerop conf)
((or lyskom-is-administrator
(lyskom-member-p (conf-stat->supervisor 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