Page MenuHomeDevCentral

Fix long incoherence for user levels
ClosedPublic

Authored by dereckson on Jan 29 2017, 23:04.
Tags
None
Referenced Files
F12074802: D885.diff
Thu, Oct 2, 07:25
F12073607: D885.id.diff
Thu, Oct 2, 00:53
F12072748: D885.id2248.diff
Wed, Oct 1, 20:51
Unknown Object (File)
Wed, Oct 1, 08:47
Unknown Object (File)
Sat, Sep 27, 08:25
Unknown Object (File)
Sat, Sep 27, 02:08
Unknown Object (File)
Wed, Sep 24, 11:51
Unknown Object (File)
Tue, Sep 23, 04:39
Subscribers
None

Details

Summary

As the user level is declared as a long, we should compare it with
other long values. As such, check_access now returns a long.

Test Plan

Recompile, test level commands

Diff Detail

Repository
rDARKBOT Darkbot
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
long (branched from master)
Build Status
Buildable 1365
Build 1613: arc lint + arc unit

Event Timeline

dereckson added inline comments.
source/chansrv.c
614–617

Declare at top instead.

dereckson marked an inline comment as done.
dereckson edited edge metadata.

Initialize at chanserv_help's top

This revision is now accepted and ready to land.Jan 29 2017, 23:56
This revision was automatically updated to reflect the committed changes.