mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Fixed some spelling errors in documentation and code comments
Thanks to Christoph Biedl!
This commit is contained in:
		| @@ -84,7 +84,7 @@ extern void* array_get PARAMS((array* a, size_t membersize, size_t pos)); | ||||
| /* free the contents of this array. */ | ||||
| extern void array_free PARAMS((array* a)); | ||||
|  | ||||
| /* overwrite array with zeroes before free */ | ||||
| /* overwrite array with zeros before free */ | ||||
| extern void array_free_wipe PARAMS((array* a)); | ||||
|  | ||||
| /* return pointer to first element in this array */ | ||||
|   | ||||
| @@ -768,7 +768,7 @@ Client_NextHop( CLIENT *Client ) | ||||
|  * Return ID of a client: "client!user@host" | ||||
|  * This client ID is used for IRC prefixes, for example. | ||||
|  * Please note that this function uses a global static buffer, so you can't | ||||
|  * nest invocations without overwriting erlier results! | ||||
|  * nest invocations without overwriting earlier results! | ||||
|  * @param Client Pointer to client structure | ||||
|  * @return Pointer to global buffer containing the client ID | ||||
|  */ | ||||
| @@ -793,7 +793,7 @@ Client_Mask( CLIENT *Client ) | ||||
|  * Return ID of a client with cloaked hostname: "client!user@server-name" | ||||
|  * This client ID is used for IRC prefixes, for example. | ||||
|  * Please note that this function uses a global static buffer, so you can't | ||||
|  * nest invocations without overwriting erlier results! | ||||
|  * nest invocations without overwriting earlier results! | ||||
|  * If the client has not enabled cloaking, the real hostname is used. | ||||
|  * @param Client Pointer to client structure | ||||
|  * @return Pointer to global buffer containing the client ID | ||||
|   | ||||
| @@ -154,7 +154,7 @@ GLOBAL bool Conf_OperCanMode; | ||||
| /** | ||||
|  * If true, mask channel MODE commands of IRC operators to the server. | ||||
|  * Background: ircd2 will ignore channel MODE commands if an IRC operator | ||||
|  * gives chanel operator privileges to someone without being a channel operator | ||||
|  * gives channel operator privileges to someone without being a channel operator | ||||
|  * himself. This enables a workaround: it masks the MODE command as coming | ||||
|  * from the IRC server and not the IRC operator. | ||||
|  */ | ||||
|   | ||||
| @@ -370,7 +370,7 @@ cb_clientserver_ssl(int sock, short what) | ||||
|  | ||||
|  | ||||
| /** | ||||
|  * Initialite connecion module. | ||||
|  * Initialize connecion module. | ||||
|  */ | ||||
| GLOBAL void | ||||
| Conn_Init( void ) | ||||
| @@ -1014,7 +1014,7 @@ Conn_Write( CONN_ID Idx, char *Data, size_t Len ) | ||||
| GLOBAL void | ||||
| Conn_Close( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClient ) | ||||
| { | ||||
| 	/* Close connection. Open pipes of asyncronous resolver | ||||
| 	/* Close connection. Open pipes of asynchronous resolver | ||||
| 	 * sub-processes are closed down. */ | ||||
|  | ||||
| 	CLIENT *c; | ||||
|   | ||||
| @@ -244,7 +244,7 @@ join_forward(CLIENT *Client, CLIENT *target, CHANNEL *chan, | ||||
| 	IRC_WriteStrChannelPrefix(Client, chan, target, false, | ||||
| 				  "JOIN :%s",  channame); | ||||
|  | ||||
| 	/* syncronize channel modes */ | ||||
| 	/* synchronize channel modes */ | ||||
| 	if (modes[1]) { | ||||
| 		IRC_WriteStrChannelPrefix(Client, chan, target, false, | ||||
| 					  "MODE %s +%s %s", channame, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton