diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-06-16 23:50:33 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-06-16 23:50:33 +0000 |
commit | b766b3a5976e3392a833e441ade8c06b47d8aebe (patch) | |
tree | 04d35cffd9f84d22059cb150ec4fa3ad6749f537 /include | |
parent | 834f4d1bf0c228f35f392808d3882ec3c1a43444 (diff) |
Minor edits to fix compile errors/warnings with clang and a small compile warning under Windows (gotta work on the other 450+ Windows warnings sometime).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3006 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 14 | ||||
-rw-r--r-- | include/services.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/configreader.h b/include/configreader.h index c6dbbefb8..7015eab99 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -453,7 +453,7 @@ class ServerConfig bool StrictPasswords; /* How many times you're allowed to give a bad password before being killed */ unsigned BadPassLimit; - /* How long before bad passwords are forgotten */ + /* How long before bad passwords are forgotten */ time_t BadPassTimeout; /* Delay between automatic database updates */ time_t UpdateTimeout; @@ -510,7 +510,7 @@ class ServerConfig char *NSGuestNickPrefix; /* Allow users to set kill immed on */ bool NSAllowKillImmed; - /* Don't allow nicks to use /ns group to regroup nicks */ + /* Don't allow nicks to use /ns group to regroup nicks */ bool NSNoGroupChange; /* Default flags for newly registered nicks */ Flags<NickCoreFlag> NSDefFlags; @@ -579,9 +579,9 @@ class ServerConfig unsigned MSMaxMemos; /* Time you must wait between sending memos */ time_t MSSendDelay; - /* Notify all of the aliases of the core the memo was sent to */ + /* Notify all of the aliases of the core the memo was sent to */ bool MSNotifyAll; - /* Who can use memos reciepts */ + /* Who can use memos reciepts */ unsigned MSMemoReceipt; /* Defai;t BotServ flags */ @@ -686,13 +686,13 @@ class ServerConfig unsigned DefSessionLimit; /* How long before exceptions expire */ time_t ExceptionExpiry; - /* How many times to kill before adding an KILL */ + /* How many times to kill before adding an KILL */ int MaxSessionKill; /* Max limit that can be used for exceptions */ unsigned MaxSessionLimit; /* How long session akills should last */ time_t SessionAutoKillExpiry; - /* Reason to use for session kills */ + /* Reason to use for session kills */ char *SessionLimitExceeded; /* Optional second reason */ char *SessionLimitDetailsLoc; @@ -776,7 +776,7 @@ class ConfigException : public CoreException * Actually no, it does nothing. Never mind. * @throws Nothing! */ - virtual ~ConfigException() throw() { }; + virtual ~ConfigException() throw() { } }; #define CONF_NO_ERROR 0x000000 diff --git a/include/services.h b/include/services.h index a38c8a207..2741e0178 100644 --- a/include/services.h +++ b/include/services.h @@ -456,7 +456,7 @@ class CoreExport HostInfo * @param creator Who created the vhost * @param time When the vhost was craated */ - void SetVhost(const std::string &ident, const std::string &host, const std::string &creator, time_t time = time(NULL)); + void SetVhost(const std::string &ident, const std::string &host, const std::string &creator, time_t created = time(NULL)); /** Remove a users vhost **/ |