mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-22 18:14:48 +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) {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user