diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-20 02:06:30 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-20 02:06:30 +0000 |
commit | b62f8b67f56412d7ef5d081763313c0d3ee957d6 (patch) | |
tree | 7486ebfe5b50bcbf4cf4b67fbf26f3bd92b1e6fe /include | |
parent | fa82184d9c819fff5c188f66f7814e28e1e32fe3 (diff) |
Changed integer config values that were marked PARAM_POSINT in the old config to unsigned integers.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1765 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r-- | include/extern.h | 36 | ||||
-rw-r--r-- | include/services.h | 2 |
2 files changed, 19 insertions, 19 deletions
diff --git a/include/extern.h b/include/extern.h index 278b96c6c..8bc6c25a7 100644 --- a/include/extern.h +++ b/include/extern.h @@ -231,7 +231,7 @@ E ServerConfig serverConfig; E std::list<Uplink *> Uplinks; E char *LocalHost; -E int LocalPort; +E unsigned LocalPort; E char *ServerName; E char *ServerDesc; @@ -241,7 +241,7 @@ E char *ServiceHost; E char *HelpChannel; E char *LogChannel; E char *NetworkName; -E int NickLen; +E unsigned NickLen; E char *s_NickServ; E char *s_ChanServ; @@ -278,7 +278,7 @@ E char *NewsDBName; E bool NoBackupOkay; E bool StrictPasswords; -E int BadPassLimit; +E unsigned BadPassLimit; E time_t BadPassTimeout; E time_t UpdateTimeout; E time_t ExpireTimeout; @@ -292,9 +292,9 @@ E bool UsePrivmsg; E bool UseStrictPrivMsg; E bool DumpCore; E bool LogUsers; -E int NickRegDelay; +E unsigned NickRegDelay; E bool RestrictOperNicks; -E int NewsCount; +E unsigned NewsCount; E char *Numeric; E char **HostSetters; @@ -308,21 +308,21 @@ E time_t MailDelay; E bool DontQuoteAddresses; E int NSDefFlags; -E int NSDefLanguage; +E unsigned NSDefLanguage; E time_t NSRegDelay; E time_t NSResendDelay; E time_t NSExpire; E time_t NSRExpire; E bool NSForceEmail; E int NSMaxAliases; -E int NSAccessMax; +E unsigned NSAccessMax; E char *NSEnforcerUser; E char *NSEnforcerHost; E time_t NSReleaseTimeout; E bool NSAllowKillImmed; E bool NSNoGroupChange; E bool NSListOpersOnly; -E int NSListMax; +E unsigned NSListMax; E char *NSGuestNickPrefix; E bool NSSecureAdmins; E bool NSStrictPrivileges; @@ -333,27 +333,27 @@ E bool NSNickTracking; E bool NSAddAccessOnReg; E int CSDefFlags; -E int CSMaxReg; +E unsigned CSMaxReg; E time_t CSExpire; E int CSDefBantype; -E int CSAccessMax; -E int CSAutokickMax; +E unsigned CSAccessMax; +E unsigned CSAutokickMax; E char *CSAutokickReason; E time_t CSInhabit; E bool CSListOpersOnly; -E int CSListMax; +E unsigned CSListMax; E bool CSRestrictGetPass; E bool CSOpersOnly; -E int MSMaxMemos; +E unsigned MSMaxMemos; E time_t MSSendDelay; E bool MSNotifyAll; -E int MSMemoReceipt; +E unsigned MSMemoReceipt; E int BSDefFlags; E time_t BSKeepData; -E int BSMinUsers; -E int BSBadWordsMax; +E unsigned BSMinUsers; +E unsigned BSBadWordsMax; E bool BSSmartJoin; E bool BSGentleBWReason; E bool BSCaseSensitive; @@ -432,10 +432,10 @@ E char **ChanServCoreModules; E int ChanServCoreNumber; E bool LimitSessions; -E int DefSessionLimit; +E unsigned DefSessionLimit; E time_t ExceptionExpiry; E int MaxSessionKill; -E int MaxSessionLimit; +E unsigned MaxSessionLimit; E time_t SessionAutoKillExpiry; E char *ExceptionDBName; E char *SessionLimitDetailsLoc; diff --git a/include/services.h b/include/services.h index 5f92e76e1..339efa151 100644 --- a/include/services.h +++ b/include/services.h @@ -1496,7 +1496,7 @@ class IRCDTS6Proto : public IRCDProto struct Uplink { char *host; - int port; + unsigned port; char *password; Uplink(const char *_host, int _port, const char *_password) { |