mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 10:29:30 +01:00
Plugins/Plang: update NIL to NULL
This commit is contained in:
parent
e4159f0ecd
commit
ea6ae182f1
@ -130,7 +130,7 @@ sub plang_builtin_print {
|
||||
my ($self, $plang, $context, $name, $arguments) = @_;
|
||||
my ($expr, $end) = ($plang->output_value($arguments->[0]), $arguments->[1]->[1]);
|
||||
$self->{output} .= "$expr$end";
|
||||
return ['NIL', undef];
|
||||
return ['NULL', undef];
|
||||
}
|
||||
|
||||
# our custom PBot built-in functions for Plang
|
||||
@ -177,7 +177,7 @@ sub plang_builtin_userget {
|
||||
my $user = $self->{pbot}->{users}->{users}->get_data($username->[1]);
|
||||
|
||||
if (not defined $user) {
|
||||
return ['NIL', undef];
|
||||
return ['NULL', undef];
|
||||
}
|
||||
|
||||
my $hash = { %$user };
|
||||
|
Loading…
Reference in New Issue
Block a user