-
Notifications
You must be signed in to change notification settings - Fork 0
/
mIRCd_connHandle.mrc
420 lines (394 loc) · 18.5 KB
/
mIRCd_connHandle.mrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
; mIRCd_connHandle.mrc
;
; This is for processing connections only.
on *:dns:{
var %this.dns = 0
while (%this.dns < $dns(0)) {
inc %this.dns 1
if ($hfind($mIRCd.dns,$dns(%this.dns),1,W).data != $null) {
var %this.sock = $v1
if ($mIRCd.info(%this.sock,isReg) == 0) {
mIRCd.sraw %this.sock NOTICE $iif($mIRCd.info(%this.sock,nick) != $null,$v1,*) :*** Found your hostname
mIRCd.updateUser %this.sock host $dns(%this.dns).addr
mIRCd.updateUser %this.sock trueHost $dns(%this.dns).addr
mIRCd.updateUser %this.sock dnsChecked 1
if ($hget($mIRCd.dns,%this.sock) != $null) { hdel $mIRCd.dns %this.sock }
if ($mIRCd.info(%this.sock,identChecked) != $null) {
if ($mIRCd.info(%this.sock,passPing) != $null) {
$+(.timermIRCd.ping,%this.sock) off
mIRCd.raw %this.sock PING $+(:,$mIRCd.info(%this.sock,passPing))
}
}
}
}
; `-> If the DNS returns nothing, there's no way to update the socket with dnsChecked=1 because I don't know it.
}
haltdef
}
on *:sockclose:mIRCd.*:{
if (mIRCd.ident.* iswm $sockname) {
mIRCd.destroyIdent $sockname
return
}
; >-> Placeholder for anything server related in the future.
if (mIRCd.user.* iswm $sockname) {
mIRCd.errorUser $sockname $mIRCd.socketClosed
return
}
}
on *:socklisten:mIRCd.*:{
var %this.port = $gettok($sockname,2,46)
if ($istok($mIRCd(CLIENT_PORTS),%this.port,44) == $true) {
var %this.number = 1, %this.type = mIRCd.user.
while ($sock($+(%this.type,%this.number)) != $null) { inc %this.number 1 }
mIRCd.createUser $+(%this.type,%this.number) $sockname
return
}
; `-> Placeholder for anything server related in the future.
}
on *:sockopen:mIRCd.ident.*:{
if ($sockerr == 0) { sockwrite -nt $sockname $hget($mIRCd.ident,$sockname) }
}
on *:sockread:mIRCd.*:{
if (mIRCd.ident.* iswm $sockname) {
var %mIRCd.ident.sockRead = $null
sockread %mIRCd.ident.sockRead
tokenize 32 %mIRCd.ident.sockRead
var %this.sock = $+(mIRCd.user.,$gettok($sockname,-1,46))
mIRCd.updateUser %this.sock identChecked 1
if ($sockerr > 0) {
mIRCd.sraw %this.sock NOTICE $iif($mIRCd.info(%this.sock,nick) != $null,$v1,*) :*** Failed to get ident
mIRCd.destroyIdent $sockname
return
}
mIRCd.destroyIdent $sockname
tokenize 58 $3-
if ($mIRCd.info(%this.sock,isReg) == 1) {
mIRCd.sraw %this.sock NOTICE $iif($mIRCd.info(%this.sock,nick) != $null,$v1,*) :*** Failed to get ident
return
}
if ($3 == $null) { mIRCd.sraw %this.sock NOTICE $iif($mIRCd.info(%this.sock,nick) != $null,$v1,*) :*** Failed to get ident }
if ($3 != $null) {
mIRCd.sraw %this.sock NOTICE $iif($mIRCd.info(%this.sock,nick) != $null,$v1,*) :*** Found your ident
mIRCd.updateUser %this.sock ident $left($3,$mIRCd.userLen)
mIRCd.updateUser %this.sock trueIdent $3
; `-> 03/02/2023: Like user, there was a reason for this. I forget what.
}
if ($mIRCd.info(%this.sock,dnsChecked) == $null) { return }
if ($mIRCd.info(%this.sock,passPing) == $null) { return }
$+(.timermIRCd.ping,%this.sock) off
mIRCd.raw %this.sock PING $+(:,$mIRCd.info(%this.sock,passPing))
return
}
; >-> Placeholder for anything server related in the future.
if (mIRCd.user.* iswm $sockname) {
var %mIRCd.user.sockRead = $null
sockread %mIRCd.user.sockRead
tokenize 32 %mIRCd.user.sockRead
if ($len($1-) == 0) { return }
; `-> Telnet related issue. (It sends empty lines when typing in commands.)
if ($mIRCd.info($sockname,flooding) == 1) { return }
; `-> Rudimentary: If they're flagged as flooding, ignore anything they send because we're going to throw them off.
if ($bool_fmt($mIRCd(EXCESS_FLOOD)) == $true) {
if (($mIRCd(FLOOD_LIMIT) isnum 1024-) && ($sock($sockname).rq >= $mIRCd(FLOOD_LIMIT))) {
if ($mIRCd.info($sockname,flooding) != 1) {
mIRCd.updateUser $sockname flooding 1
mIRCd.errorUser $sockname $mIRCd.excessFlood($parenthesis(Received $sock($sockname).rq bytes))
}
return
}
; `-> Rudimentary.
}
if ($window($mIRCd.window) != $null) { echo -ci2t "Info text" $v1 [R]: $sockname -> $1- }
if ($sockerr > 0) {
mIRCd.errorUser $sockname $mIRCd.socketError
return
}
if ($mIRCd.info($sockname,isReg) == 0) {
; `-> Unregistered.
if ($mIRCd.info($sockname,firstCommand) == $null) { mIRCd.updateUser $sockname firstCommand $1 }
; `-> We need to make sure PASS is first if it is used.
if ($hfind($mIRCd.commands(0),$1).data != $null) {
mIRCd.doCommand $sockname $1-
return
}
mIRCd.sraw $sockname $mIRCd.reply(451,$iif($mIRCd.info($sockname,nick) != $null,$v1,*),$1)
return
}
; `-> Registered.
if (($is_shunMatch($mIRCd.fulladdr($sockname)) == $true) || ($is_shunMatch($mIRCd.ipaddr($sockname)) == $true) || ($is_shunMatch($mIRCd.trueaddr($sockname)) == $true) || ($is_shunMatch($+(!R,$strip($mIRCd.info($sockname,realName)))) == $true) || ($is_shunMatch($mIRCd.fulladdr($sockname)).local == $true) || ($is_shunMatch($mIRCd.ipaddr($sockname)).local == $true) || ($is_shunMatch($mIRCd.trueaddr($sockname)).local == $true) || ($is_shunMatch($+(!R,$strip($mIRCd.info($sockname,realName)))).local == $true)) {
if ($hfind($mIRCd.commands(2),$1).data != $null) {
mIRCd.doCommand $sockname $1-
return
}
if ($hfind($mIRCd.commands(1),$1).data == $null) { mIRCd.sraw $sockname $mIRCd.reply(421,$mIRCd.info($sockname,nick),$1) }
; `-> Tell them failed commands don't work, but ignore everything else they try to do.
return
}
if ($hfind($mIRCd.commands(1),$1).data != $null) {
if (($istok($mIRCd(OPER_CMDS),$1,44) == $true) && ($is_oper($sockname) == $false)) {
mIRCd.sraw $sockname $mIRCd.reply(481,$mIRCd.info($sockname,nick))
return
}
mIRCd.doCommand $sockname $1-
return
}
mIRCd.sraw $sockname $mIRCd.reply(421,$mIRCd.info($sockname,nick),$1)
return
}
}
; Commands and Functions
alias is_local_ip {
; $is_local_ip(<ip>)
if ($longip($1) == $null) { return $false }
return $iif(127.* iswm $1 || 192.168.* iswm $1,$true,$false)
}
alias makeHost {
; $makeHost(<ip>)
var %this.base = $+($longip($1),:,$mIRCd(SALT))
if ($mIRCd(LOOSE_OBFUSCATION).temp == 1) { var %this.base = $+($regsubex($str(.,32),/./g,$gettok($rand(a,z) $rand(0,9) $rand(A,Z),$rand(1,3),32)),:,%this.base) }
; `-> Allow for loose obfuscation. This means that each host will be different for people on the same ip address.
return $+($gettok($regsubex($upper($hmac($sha512($1), %this.base, sha512, 0)),/(.{8})/g,\1.),1-3,46),.IP)
}
alias mIRCd.addWhoWas {
; /mIRCd.addWhoWas <sockname>
var %this.sock = $1, %this.nick = $mIRCd.info($1,nick), %this.timestamp = $ctime, %this.table = $+(%this.nick,:,%this.timestamp)
tokenize 44 host,ident,nick,realName,trueHost,user
; `-> Note to self: trueIdent? trueUser?
scon -r hadd -m $mIRCd.whoWas(%this.table) $* $!mIRCd.info(%this.sock, $* )
; `-> A quick and dirty loop.
hadd -m $mIRCd.whoWas(%this.table) signon $calc(%this.timestamp - $sock(%this.sock).to)
; `-> We have to add this one manually.
hadd -m $mIRCd.whoWas %this.table 1
}
alias mIRCd.checkRegistering {
; /mIRCd.checkRegistering
if ($hcount($mIRCd.unknown) == 0) { return }
var %this.number = 0
while (%this.number < $hcount($mIRCd.unknown)) {
inc %this.number 1
var %this.sock = $hget($mIRCd.unknown,%this.number).item
if ($sock(%this.sock) == $null) {
; `-> Make sure the socket still exists. If it doesn't, something went wrong and it needs expunging.
mIRCd.errorUser %this.sock $mIRCd.socketError
continue
}
if ($sock(%this.sock).to >= $mIRCd(REGISTRATION_TIMEOUT_DURATION)) { mIRCd.errorUser %this.sock $mIRCd.registrationTimeout }
}
}
alias mIRCd.createUser {
; /mIRCd.createUser <sockname> <socket they connected through>
sockaccept $1
mIRCd.sraw $1 NOTICE * :*** Processing your connection; please wait...
hinc -m $mIRCd.temp totalCount 1
hadd -m $mIRCd.unknown $1 $ctime
mIRCd.updateUser $1 isReg 0
mIRCd.updateUser $1 thruSock $2
mIRCd.updateUser $1 ip $sock($1).ip
; ¦-> Yes, I know I can get the ip via $sock().ip, but when I recode /WHO, I want to make it easier on myself!
; `-> Also not the same as host since that gets modified by +x. (And trueHost should get DNS'd.)
mIRCd.updateUser $1 host $sock($1).ip
mIRCd.updateUser $1 trueHost $sock($1).ip
if ($bool_fmt($mIRCd(DNS_USERS)) == $true) {
if ($is_local_ip($sock($1).ip) == $false) {
; `-> I'm still trying to decide if resolving localhost/LAN is a good or bad idea. (For now, I've made it so it won't look it up.)
mIRCd.sraw $1 NOTICE $iif($mIRCd.info($1,nick) != $null,$v1,*) :*** Looking up your hostname...
mIRCd.dnsUser $1 $sock($1).ip
}
else { mIRCd.updateUser $1 dnsChecked 0 }
; `-> A little hack for the local users.
}
if (($bool_fmt($mIRCd(DNS_USERS)) == $true) && ($mIRCd.info($1,dnsChecked) != 1)) {
if ($is_local_ip($sock($1).ip) == $false) { mIRCd.sraw $1 NOTICE $iif($mIRCd.info($1,nick) != $null,$v1,*) :*** Failed to resolve hostname }
}
if ($bool_fmt($mIRCd(ACCESS_IDENT_SERVER)) == $false) {
mIRCd.updateUser $1 identChecked 0
return
}
mIRCd.sraw $1 NOTICE $iif($mIRCd.info($1,nick) != $null,$v1,*) :*** Checking ident...
var %this.sock = $+(mIRCd.ident.,$gettok($1,-1,46))
hadd -m $mIRCd.ident %this.sock $sock($1).port $+ , $gettok($2,-1,46)
sockopen %this.sock $sock($1).ip 113
/*
; ,-> Unused code, but retained. (For now.)
var %this.command = sockopen %this.sock $sock($1).ip 113
if ($mIRCd(LOOKUP_DELAY) > 0) { $+(.timermIRCd.ident,%this.sock) -o 1 0 %this.command }
else { %this.command }
*/
}
alias mIRCd.delUserItem {
; /mIRCd.delUserItem <sockname> <item>
hdel $mIRCd.table($1) $2
}
alias mIRCd.destroyIdent {
; /mIRCd.destroyIdent <sockname>
if ($hget($mIRCd.ident,$1).data != $null) { hdel $mIRCd.ident $1 }
if ($sock($1) != $null) { sockclose $1 }
}
alias mIRCd.destroyUser {
; /mIRCd.destroyUser <sockname> [quit message]
if ($mIRCd.info($1,isReg) == 1) {
; `-> There is no point caching unregistered users.
if ($bool_fmt($mIRCd(CACHE_WHOWAS)) == $true) { mIRCd.addWhoWas $1 }
}
var %this.error = $mIRCd.info($1,error), %this.fulladdr = $mIRCd.fulladdr($1), %this.sock = $1
if ($hget($mIRCd.unknown,%this.sock) == $null) { mIRCd.serverNotice 16384 Client quit: $mIRCd.info(%this.sock,nick) $parenthesis($gettok(%this.fulladdr,2,33)) }
; `-> Temporarily store the (error), fulladdr and name of the socket.
if ($mIRCd.info(%this.sock,chans) != $null) {
var %these.chans = $v1
; ¦-> The user is on channel(s). We need to display their quit to users who are in mutual channels.
; `-> It's probably quicker to check each user online than each channel one-by-one, then the users of those channels one-by-one.
var %this.quit = $iif($2- != :,$decolonize($left($v1,$mIRCd(TOPICLEN))),$mIRCd.standardQuit)
if (%this.error == $null) {
if ($bool_fmt($mIRCd(PREFIX_QUIT)) == $true) { var %this.quit = Quit: %this.quit }
; `-> Just to stop people faking "Ping timeout" and other things; but only if PREFIX_QUIT=TRUE.
if ($count($regsubex($str(.,$numtok(%these.chans,44)),/./g,$iif(u isincs $mIRCd.info($gettok(%these.chans,\n,44),modes),1,0)),1) > 0) {
var %this.quit = $mIRCd.standardQuit
if ($bool_fmt($mIRCd(PREFIX_QUIT)) == $true) { var %this.quit = Quit: %this.quit }
}
; `-> One of the channels they are in has "hide quits," so we need to default to the generic quit message.
}
var %this.loop = 0
while (%this.loop < $hcount($mIRCd.users)) {
inc %this.loop 1
var %this.otherSock = $hget($mIRCd.users,%this.loop).item
if ($is_mutualHidden(%this.sock,%this.otherSock) == $false) { mIRCd.raw %this.otherSock $+(:,%this.fulladdr) QUIT $+(:,%this.quit) }
}
; ,-> Now delete them from the channel users.
var %this.chan = 0, %this.chans = $mIRCd.info(%this.sock,chans)
while (%this.chan < $numtok(%this.chans,44)) {
inc %this.chan 1
var %this.id = $gettok(%this.chans,%this.chan,44)
mIRCd.chanDelUser %this.id %this.sock
}
}
if ($hget($mIRCd.invisible,%this.sock) != $null) { hdel $mIRCd.invisible %this.sock }
if ($hget($mIRCd.opersOnline,%this.sock) != $null) { hdel $mIRCd.opersOnline %this.sock }
; `-> Again, fiddle with /LUSERS numbers.
if ($hget($mIRCd.unknown,%this.sock) != $null) { hdel $mIRCd.unknown %this.sock }
if ($hget($mIRCd.users,%this.sock) != $null) { hdel $mIRCd.users %this.sock }
if ($hget($mIRCd.accept(%this.sock)) != $null) { hfree $mIRCd.accept(%this.sock) }
if ($hget($mIRCd.block(%this.sock)) != $null) { hfree $mIRCd.block(%this.sock) }
if ($hget($mIRCd.silence(%this.sock)) != $null) { hfree $mIRCd.silence(%this.sock) }
if ($hget($mIRCd.table(%this.sock)) != $null) { hfree $mIRCd.table(%this.sock) }
if ($timer($+(mIRCd.ping,%this.sock)) != $null) { $+(.timermIRCd.ping,%this.sock) off }
if ($sock(%this.sock) != $null) { sockclose %this.sock }
}
alias mIRCd.doCommand {
; /mIRCd.doCommand <sockname> <args>
hadd -m $mIRCd.mStats $2 $calc($hget($mIRCd.mStats,$2) + 1) $len($2-)
[ [ $+(mIRCd_command_,$2) ] ] $1-
}
alias mIRCd.dnsUser {
; /mIRCd.dnsUser <sockname> <ip>
hadd -m $mIRCd.dns $1 $2
.dns $2
}
alias mIRCd.errorUser {
; /mIRCd.errorUser <sockname> <error message>
mIRCd.raw $1 ERROR :Closing Link: $2-
mIRCd.updateUser $1 error 1
$+(.timermIRCd.error,$1) -o 1 0 mIRCd.destroyUser $1 $+(:,$2-)
}
alias mIRCd.fulladdr {
; $mIRCd.fulladdr(<sockname>)
return $+($mIRCd.info($1,nick),!,$iif($mIRCd.info($1,ident) != $null,$v1,$mIRCd.info($1,user)),@,$mIRCd.info($1,host))
}
alias mIRCd.hostQuit {
; /mIRCd.hostQuit <sockname> [host]
if ($2 == $null) {
; `-> Override if (fake)hosts.
if ($bool_fmt($mIRCd(HIDE_HOSTS_FREELY)) == $false) { return }
; `-> Do nothing for now. (If +r is part of modes - which is invisible and set via ACCOUNT with a C:line, this should be <account>.users.localhost - or something.)
}
var %this.host = $iif($2 != $null,$v1,$makeHost($sock($1).ip))
if ($numtok($mIRCd.info($1,chans),44) == 0) {
mIRCd.updateUser $1 host %this.host
mIRCd.sraw $1 $mIRCd.reply(396,$mIRCd.info($1,nick),%this.host)
return
}
var %this.fulladdr = $mIRCd.fulladdr($1), %this.newaddr = $+($gettok($mIRCd.fulladdr($1),1,64),@,%this.host)
var %this.loop = 0
while (%this.loop < $hcount($mIRCd.users)) {
inc %this.loop 1
var %this.sock = $hget($mIRCd.users,%this.loop).item
if ($is_mutual($1,%this.sock) == $false) { continue }
if ($1 != %this.sock) {
if ($is_mutualHidden($1,%this.sock) == $false) { mIRCd.raw %this.sock $+(:,%this.fulladdr) QUIT $+(:,$mIRCd.hostChange) }
}
}
var %this.chan = 0
while (%this.chan < $numtok($mIRCd.info($1,chans),44)) {
inc %this.chan 1
var %this.id = $gettok($mIRCd.info($1,chans),%this.chan,44)
var %this.modeSock = $1
; `-> Required for %this.status.
var %this.user = 0, %this.status = $regsubex($str(.,3),/./g,$iif($gettok($hget($mIRCd.chanUsers(%this.id),%this.modeSock),$calc(\n + 2),32) == 1,$mid(ohv,\n,1)))
while (%this.user < $hcount($mIRCd.chanUsers(%this.id))) {
inc %this.user 1
var %this.chanSock = $hget($mIRCd.chanUsers(%this.id),%this.user).item
if ($1 != %this.chanSock) {
if ($is_mutualHidden($1,%this.sock) == $false) {
mIRCd.raw %this.chanSock $+(:,%this.newaddr) JOIN $mIRCd.info(%this.id,name)
if (%this.status != $null) { mIRCd.sraw %this.chanSock MODE $mIRCd.info(%this.id,name) $+(+,%this.status) $str($+($mIRCd.info($1,nick),$chr(32)),$len(%this.status)) }
}
}
}
}
mIRCd.updateUser $1 host %this.host
mIRCd.raw $1 $mIRCd.reply(396,$mIRCd.info($1,nick),%this.host)
}
alias mIRCd.info {
; $mIRCd.info(<chan ID|sockname>,<value>)
return $hget($mIRCd.table($1),$2)
}
; `-> Channel and user info is taken from here.
alias mIRCd.ipaddr {
; $mIRCd.ipaddr(<sockname>)
return $+($gettok($mIRCd.fulladdr($1),1,64),@,$sock($1).ip)
}
alias mIRCd.pingUsers {
; /mIRCd.pingUsers
if ($hcount($mIRCd.users) == 0) { return }
var %this.number = 0
while (%this.number < $hcount($mIRCd.users)) {
inc %this.number 1
var %this.sock = $hget($mIRCd.users,%this.number).item
if ($sock(%this.sock) == $null) {
; `-> Make sure the socket still exists. If it doesn't, something went wrong and it needs expunging.
mIRCd.errorUser %this.sock $mIRCd.socketError
continue
}
if ($calc($ctime - $mIRCd.info(%this.sock,lastPing)) >= $mIRCd(PING_TIMEOUT_DURATION)) {
var %this.timeout = $v1 second(s)
; `-> Make sure to check the current timestamp vs. their last ping timestamp and then "Ping timeout" user(s).
if ($mIRCd.info(%this.sock,isReg) == 1) { mIRCd.errorUser %this.sock $mIRCd.pingTimeout($parenthesis(%this.timeout)) }
; `-> Ignore connecting user(s), they have their own routine.
continue
}
if ($sock(%this.sock).to >= $int($calc($mIRCd(PING_TIMEOUT) / 2))) { mIRCd.raw %this.sock PING $+(:,$mIRCd(SERVER_NAME).temp) }
; `-> A little amnesty first. (No point pinging users who've just registered with the IRCd.)
}
}
alias mIRCd.trueaddr {
; $mIRCd.trueaddr(<sockname>)
return $+($gettok($mIRCd.fulladdr($1),1,64),@,$mIRCd.info($1,trueHost))
}
; `-> ipaddr and trueaddr are for ban checking only.
alias mIRCd.updateUser {
; /mIRCd.updateUser <sockname> <item> <value>
hadd -m $mIRCd.table($1) $2 $3-
}
alias mIRCd.userLen { return 10 }
; `-> Trim the ident/user to ^ chars. Well, (N - 1) if the ident isn't found because we need to add ~.
; Error/Quit Messages
alias mIRCd.closeConnection { return Closed unknown connection(s) }
alias mIRCd.excessFlood { return Excess flood $iif($1 != $null,$v1) }
alias mIRCd.hostChange { return Changing host }
alias mIRCd.pingTimeout { return Ping timeout $iif($1- != $null,$v1) }
alias mIRCd.socketClosed { return Remote socket closed the connection }
alias mIRCd.socketError { return Socket error }
alias mIRCd.registrationTimeout { return Registration timeout }
alias mIRCd.standardQuit { return Disconnected }
; `-> Just a standard quit message if one wasn't specified.
; EOF