File: cexit.mac

package info (click to toggle)
linpac 0.16pre3-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,328 kB
  • ctags: 2,582
  • sloc: cpp: 16,514; sh: 7,991; ansic: 4,061; makefile: 211; perl: 101
file content (20 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
:macro cexit
;;
;; cexit.mac - this macro is called automatically when any channel
;;             disconnects
;;
;; Parametres: %1 - callsign of disconnected station
;;

;; When a path to logbook is set, complete a logbook entry
if %(exist LOG_PATH@0) == 1
  if %(exist LOG_QRG) == 1
    log stop %LOG_PATH@0/%Y %1 "%LOG_QRG"
  endif
endif

;; Clear acces list
rcmd ""

;; Switch off the compression
compress off