Page MenuHomeDevCentral

Fix long incoherence for user levels
ClosedPublic

Authored by dereckson on Jan 29 2017, 23:04.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 10, 20:02
Unknown Object (File)
Wed, Jul 9, 13:35
Unknown Object (File)
Tue, Jul 8, 23:09
Unknown Object (File)
Tue, Jul 8, 11:56
Unknown Object (File)
Tue, Jul 8, 11:45
Unknown Object (File)
Tue, Jul 8, 04:52
Unknown Object (File)
Mon, Jul 7, 07:31
Unknown Object (File)
Jun 17 2025, 19:43
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.