mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
a797e2bf70
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.