diff options
| author | Alexander Barton <alex@barton.de> | 2020-05-25 23:43:29 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2020-05-25 23:51:00 +0200 |
| commit | 02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5 (patch) | |
| tree | 956df4b2e5d9f6e83766d0f7daf1f16851637fdc /src/tool | |
| parent | 430bb223765281487e5c6d415a8efb91e2bf3320 (diff) | |
| download | ngircd-02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5.tar.gz ngircd-02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5.zip | |
IRC_SERVER: Make sure that the client sent a prefix
The SERVER command is only valid with a prefix when received from other servers, so make sure that there is one and disconnect the peer if not (instead of crashing ...). This obsoletes PR #275. Thanks Hilko Bengen (hillu) for finding & reporting this as well for the patch & pull request! But I think this is the "more correct" fix.
Diffstat (limited to 'src/tool')
0 files changed, 0 insertions, 0 deletions