mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
ircrc: fix pong message (thanks mkf)
when connecting to ngircd, we can get disconnected with a 'Spoofed prefix' message; this fixes the problem.
This commit is contained in:
parent
c0a7fbea1f
commit
b51b623725
1 changed files with 2 additions and 2 deletions
|
@ -173,8 +173,8 @@ fn pretty {
|
|||
line = `{echo -n $line | misc}
|
||||
case *NOTICE*
|
||||
line = `{echo -n $line | notice}
|
||||
case *PING*
|
||||
echo -n $line | sed 's/PING/PONG/' > $netdir/data
|
||||
case PING* # *PING* could also be CASEMAPPING
|
||||
echo PONG $line(2) > $netdir/data
|
||||
line = ()
|
||||
case *
|
||||
line = `{echo -n $line | numeric}
|
||||
|
|
Loading…
Reference in a new issue