diff options
| author | Alexander Barton <alex@barton.de> | 2023-01-02 22:32:16 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2023-01-02 22:32:16 +0100 |
| commit | 8e9c789ae188f8b73cc6f776a3ead21f0dfd4ca6 (patch) | |
| tree | 35a25858309bf164f9bfa3b22a7a6cb1dab896ec /src/testsuite/stop-server1 | |
| parent | 3c9c54989ed20f4ed69ce6390430c01a1b0ce314 (diff) | |
| download | ngircd-8e9c789ae188f8b73cc6f776a3ead21f0dfd4ca6.tar.gz ngircd-8e9c789ae188f8b73cc6f776a3ead21f0dfd4ca6.zip | |
Better validate MODE +k & +l parameters and return errors
Implement new numeric ERR_INVALIDMODEPARAM_MSG(696) and: - Reject channel keys with spaces and return ERR_INVALIDMODEPARAM_MSG; This was possible until now and resulted in garbled IRC commands later. - Reject empty channel keys and return ERR_INVALIDMODEPARAM_MSG; This was possible until now and resulted in garbled IRC commands later. - Return ERR_INVALIDMODEPARAM_MSG when user limit is out of bounds; This was silently ignored until now. Closes #290. Thanks Val Lorentz for reporting it!
Diffstat (limited to 'src/testsuite/stop-server1')
0 files changed, 0 insertions, 0 deletions