summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-08-10 10:25:40 +0100
committerPeter Powell <petpow@saberuk.com>2018-08-10 10:30:33 +0100
commit0218d3290312c516b9b4bc72ae8778935e986300 (patch)
tree4166d9d54544699aa56bfbe4d56e190ada4ea0de /src/modules
parent090f3817584b6b0a25f661cfe73b61fb190136e2 (diff)
Fix sending malformed ERR_UNKNOWNCOMMAND messages in some cases.
This is not something the average user will encounter. It can only happen if the user sends a message with preceding whitespace or a prefix but no command name. This is not something that should ever be seen in practise so we just penalise the user and pretend nothing ever happened. The previous code also contained undefined behaviour but it acted sensibly on all compilers we support so it was not crashable.
Diffstat (limited to 'src/modules')
0 files changed, 0 insertions, 0 deletions