Skip to content

error cfg  #1

@MathiasJRL

Description

@MathiasJRL

my $dcc_port = 1024;
my $cfg = $bot->getcfg();

if (exists($cfg->{Modules}->{Pepper}->{dcc}->{port})) {
    $dcc_port = $cfg->{Modules}->{Pepper}->{dcc}->{port};
}

[Core/handle_handler] eval sytanx error: Can't locate object method "getcfg" via package "Shadow::Core" at modules/Pepper/Pepper.pm line 18.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions