From 5ca2a6ffdb4dbb7f7d8f120df5f99d85d484b3ab Mon Sep 17 00:00:00 2001 From: pippijn Date: Thu, 12 Jun 2008 21:04:37 +0000 Subject: for real git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9898 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/connection.h | 10 +++++----- include/inspstring.h | 2 +- include/socket.h | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'include') diff --git a/include/connection.h b/include/connection.h index b754a3750..c90a953d2 100644 --- a/include/connection.h +++ b/include/connection.h @@ -14,7 +14,7 @@ #ifndef __CONNECTION_H__ #define __CONNECTION_H__ -#include +#include #include "inspircd_config.h" #include "base.h" #include "socketengine.h" @@ -55,21 +55,21 @@ class CoreExport connection : public EventHandler * the connection state. */ char registered; - + /** Time the connection was last pinged */ time_t lastping; - + /** Time the connection was created, set in the constructor. This * may be different from the time the user's classbase object was * created. */ time_t signon; - + /** Time that the connection last sent a message, used to calculate idle time */ time_t idle_lastmsg; - + /** Used by PING checking code */ time_t nping; diff --git a/include/inspstring.h b/include/inspstring.h index bb03bc2ed..5d3d42a5c 100644 --- a/include/inspstring.h +++ b/include/inspstring.h @@ -16,7 +16,7 @@ // This (inspircd_config) is needed as inspstring doesn't pull in the central header #include "inspircd_config.h" -#include +#include //#include #ifndef HAS_STRLCPY diff --git a/include/socket.h b/include/socket.h index e6ea1615d..a26c1256d 100644 --- a/include/socket.h +++ b/include/socket.h @@ -33,7 +33,7 @@ #endif -#include +#include #include "socketengine.h" /* Contains irc-specific definitions */ @@ -69,7 +69,7 @@ namespace irc #endif /** Match raw binary data using CIDR rules. - * + * * This function will use binary comparison to compare the * two bit sequences, address and mask, up to mask_bits * bits in size. If they match, it will return true. @@ -108,7 +108,7 @@ namespace irc CoreExport bool MatchCIDR(const std::string &address, const std::string &cidr_mask, bool match_with_username); /** Convert an insp_inaddr into human readable form. - * + * * @param n An insp_inaddr (IP address) structure * @return A human-readable address. IPV6 addresses * will be shortened to remove fields which are 0. @@ -116,7 +116,7 @@ namespace irc CoreExport const char* insp_ntoa(insp_inaddr n); /** Convert a human-readable address into an insp_inaddr. - * + * * @param a A human-readable address * @param n An insp_inaddr struct which the result * will be copied into on success. -- cgit v1.2.3