]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/client.h
Client_IsValidNick: no need to strcpy.
[ngircd-alex.git] / src / ngircd / client.h
index 73de52b5cd7e49dd89b6b0725d2600368b4c79a3..b48f804f3b32a3089864d4245ab90ff45e6bb735 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: client.h,v 1.42 2006/04/23 10:37:27 fw Exp $
+ * $Id: client.h,v 1.44 2006/10/06 19:57:56 fw Exp $
  *
  * Client management (header)
  */
 #define CLIENT_GOTNICK 4               /* client did send NICK */
 #define CLIENT_GOTUSER 8               /* client did send USER */
 #define CLIENT_USER 16                 /* client is an IRC user */
-#define CLIENT_UNKNOWNSERVER 32                /* unregistered server connection */
-#define CLIENT_GOTPASSSERVER 64                /* client did send PASS in "server style" */
-#define CLIENT_SERVER 128              /* client is a server */
-#define CLIENT_SERVICE 256             /* client is a service */
+#define CLIENT_SERVER 32               /* client is a server */
+#define CLIENT_SERVICE 64              /* client is a service */
+#define CLIENT_UNKNOWNSERVER 128       /* unregistered server connection */
 
 #define CLIENT_TYPE int
 
@@ -146,7 +145,7 @@ GLOBAL long Client_MyServerCount PARAMS(( void ));
 GLOBAL long Client_MaxUserCount PARAMS((  void ));
 GLOBAL long Client_MyMaxUserCount PARAMS((  void ));
 
-GLOBAL bool Client_IsValidNick PARAMS(( char *Nick ));
+GLOBAL bool Client_IsValidNick PARAMS(( const char *Nick ));
 
 GLOBAL WHOWAS *Client_GetWhowas PARAMS(( void ));
 GLOBAL int Client_GetLastWhowasIndex PARAMS(( void ));