Page MenuHomeDevCentral

Fix long incoherence for user levels
ClosedPublic

Authored by dereckson on Jan 29 2017, 23:04.
Tags
None
Referenced Files
F35434761: D885.id2247.diff
Fri, Jul 10, 13:26
F35429553: D885.id2248.diff
Fri, Jul 10, 12:00
F35429541: D885.id2249.diff
Fri, Jul 10, 11:59
F35408058: D885.diff
Fri, Jul 10, 06:52
Unknown Object (File)
Tue, Jul 7, 14:28
Unknown Object (File)
Mon, Jul 6, 21:40
Unknown Object (File)
Sun, Jul 5, 19:24
Unknown Object (File)
Fri, Jul 3, 20:27
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 1364
Build 1612: arc lint + arc unit

Event Timeline

dereckson added inline comments.
source/chansrv.c
612

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.