diff options
author | Test_User <hax@andrewyu.org> | 2024-06-07 23:21:32 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-07 23:21:32 -0400 |
commit | 63f6501accb8c263e7d9890828210ec379f8a65a (patch) | |
tree | aa7e62b39dfeb58097b33877cf3db2ba185ecc65 /main.c | |
parent | 5c9c4339ac97ffb9c66d9f3dd3a8285badd24d71 (diff) | |
download | c_coupserv-63f6501accb8c263e7d9890828210ec379f8a65a.tar.gz c_coupserv-63f6501accb8c263e7d9890828210ec379f8a65a.zip |
Fix an old parsing bug that's never actually triggered by inspircd
Diffstat (limited to '')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -317,8 +317,8 @@ int main(void) { for (uint64_t i = offset + 1; i < msg_len; i++) { if (full_msg.data[i] == ' ') { found = 1; + source.len = i - offset - 1; offset = i + 1; - source.len = i - 1; break; } } |