Commit Diff


commit - 83bfdddf995bd0a3b23ce7e7da3719e4b73c782e
commit + 98a8ea105cccd0607f7f2949602580104c098d84
blob - 24b24c78a9cbf789ba1fc2e5e071cd74b5dcf8b9
blob + 1b72adc8bb92a49db74855f611d94ed873545f80
--- src/ngircd/client.c
+++ src/ngircd/client.c
@@ -530,7 +530,7 @@ Client_ModeDel( CLIENT *Client, char Mode )
 
 
 GLOBAL CLIENT *
-Client_Search( char *Nick )
+Client_Search( const char *Nick )
 {
 	/* return Client-Structure that has the corresponding Nick.
 	 * If none is found, return NULL.
blob - d211d23e11a24e7367fee37b382089615c568dc3
blob + 63406f203c13db57c3f9c9b615ed3d07687b881d
--- src/ngircd/client.h
+++ src/ngircd/client.h
@@ -85,7 +85,7 @@ GLOBAL CLIENT *Client_ThisServer PARAMS(( void ));
 
 GLOBAL CLIENT *Client_GetFromToken PARAMS(( CLIENT *Client, int Token ));
 
-GLOBAL CLIENT *Client_Search PARAMS(( char *ID ));
+GLOBAL CLIENT *Client_Search PARAMS(( const char *ID ));
 GLOBAL CLIENT *Client_First PARAMS(( void ));
 GLOBAL CLIENT *Client_Next PARAMS(( CLIENT *c ));