diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-29 14:38:28 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-29 14:38:28 +0000 |
commit | a5552f3b51875c2a0b58ef9a84d8112cb98d5e6b (patch) | |
tree | 7fe65f21f2602efc081a0191a43e781ee1e598bf /include | |
parent | 5293e04aa3d9a9d6cfe5d02a4e929cfa82a8e491 (diff) |
- conf.h:struct config_file_entry: changed 'oper_only_umodes' and 'oper_umodes'
to unsigned int types. Otherwise we may expect integer overflows in the future
if more user modes get added.
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3676 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r-- | include/conf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conf.h b/include/conf.h index 6ec4dcd..ec6e807 100644 --- a/include/conf.h +++ b/include/conf.h @@ -254,8 +254,8 @@ struct config_file_entry int pace_wait_simple; int gline_time; int gline_request_time; - int oper_only_umodes; - int oper_umodes; + unsigned int oper_only_umodes; + unsigned int oper_umodes; int max_targets; int caller_id_wait; int min_nonwildcard; |