mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-23 02:24:25 +01:00
Plugins/Wolfram: use == instead of eq for numeric comparison
This commit is contained in:
parent
479212b234
commit
de8cf8cc60
@ -52,7 +52,7 @@ sub cmd_wolfram {
|
|||||||
if ($response->is_success) {
|
if ($response->is_success) {
|
||||||
return "$context->{nick}: " . $response->decoded_content;
|
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.";
|
return "$context->{nick}: I don't know what that means.";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user