3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00

Plugins/Wolfram: use == instead of eq for numeric comparison

This commit is contained in:
Pragmatic Software 2021-07-07 20:25:16 -07:00
parent 479212b234
commit de8cf8cc60

View File

@ -52,7 +52,7 @@ sub cmd_wolfram {
if ($response->is_success) {
return "$context->{nick}: " . $response->decoded_content;
}
elsif ($response->code eq 501) {
elsif ($response->code == 501) {
return "$context->{nick}: I don't know what that means.";
}
else {