Commit f3d95f82 authored by Lars Willför's avatar Lars Willför
Browse files

Den föråldrade funktionen lyskom-show-broadcast-message borttagen

parent 672f6f7a
No preview for this file type
......@@ -132,13 +132,14 @@ this function shall be with current-buffer the BUFFER."
session-no))
)))
((eq msg-no 10) ; Broadcast message
((eq msg-no 10) ; Broadcast message (obsolete? /lw)
(let ((sender (lyskom-parse-num))
(lyskom-message (lyskom-parse-string)))
(lyskom-save-excursion
(set-buffer buffer)
(initiate-get-conf-stat 'follow
'lyskom-show-broadcast-message sender
'lyskom-show-personal-message sender
recipient
message))))
((eq msg-no 11)
......@@ -251,25 +252,6 @@ this function shall be with current-buffer the BUFFER."
(not (zerop (minibuffer-depth))))
(defun lyskom-show-broadcast-message (sender message)
"Insert a broadcast message into the lyskom buffer.
Args: SENDER: conf-stat for the person issuing the broadcast message or a
string that is the sender.
MESSAGE: A string containing the message."
(lyskom-insert-before-prompt
"\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n")
(lyskom-insert-before-prompt (lyskom-format 'broadcast-from
(cond
((stringp sender) sender)
(sender (conf-stat->name sender))
(t (lyskom-get-string 'unknown)))
message
))
(lyskom-insert-before-prompt
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n")
(beep))
(defun lyskom-show-personal-message (sender recipient message)
"Insert a personal message into the lyskom buffer.
Args: SENDER: conf-stat for the person issuing the broadcast message or a
......
......@@ -433,7 +433,6 @@ upptagna. Logga ut och kom tillbaks senare om du v
(has-entered-r . "Nu har %#1s gtt in i LysKOM.\n")
(has-left . "Nu har %#1s gtt ur LysKOM.")
(has-left-r . "Nu har %#1s gtt ur LysKOM.\n")
(broadcast-from . "Allmnt meddelande frn %#1s:\n\n%#2s\n")
(unknown . "oknd")
(message-broadcast . "Allmnt meddelande frn %#1s (%#3s):\n\n%#2s\n")
......
Supports Markdown
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