Page MenuHomeDevCentral

Fix long incoherence for user levels
ClosedPublic

Authored by dereckson on Jan 29 2017, 23:04.
Tags
None
Referenced Files
F25412005: D885.id2249.diff
Sun, Apr 12, 18:04
F25409262: D885.id2247.diff
Sun, Apr 12, 15:05
Unknown Object (File)
Fri, Apr 10, 18:21
Unknown Object (File)
Thu, Apr 9, 01:28
Unknown Object (File)
Tue, Apr 7, 23:24
Unknown Object (File)
Mon, Apr 6, 18:25
Unknown Object (File)
Mon, Apr 6, 01:08
Unknown Object (File)
Mon, Mar 30, 08:57
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
Lint Not Applicable
Unit
Tests Not Applicable

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.