Skip to content

Using a deprecated function name as a variable will print a warning #1435

@PlatinMTA

Description

@PlatinMTA

Describe the bug
You can't call a variable banIP or banSerial without getting an output on the server console/log.

To reproduce

-- serverside
banIP = "192.168.1.69"

Run that code and you will see and output similar to this:

[Server] banIP no longer works. Please manually update this. Refer to the wiki for details

Expected behaviour
It should only tell you that if you are trying to use the function banIP

Version
Server: r20488

Additional context
This isn't that important, but w/e

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions