From a5552f3b51875c2a0b58ef9a84d8112cb98d5e6b Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 29 May 2014 14:38:28 +0000 Subject: - 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 --- include/conf.h | 4 ++-- 1 file 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; -- cgit