mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
bff910cae3
When invalid data is received (not an HTTP request), client->http_req->method
is NULL, so we have to check it's not NULL before comparing it to the supported
methods.
This fixes a regression introduced in commit
93ec10b563.