modified modcmd to give the possibility for dynamic access (modcmd)
[NeonServV5.git] / ClientSocket.h
index de08e8c605e504c973b908326b10effcff995471..494505b15451d9530f0d75184232e029c309123e 100644 (file)
@@ -23,7 +23,8 @@ struct ClientSocket {
     char *pass;
     struct UserNode *user;
        
-       int botid;
+       int botid : 16;
+    int clientid : 16;
     
     struct ClientSocket *next;
 };
@@ -35,5 +36,6 @@ int write_socket(struct ClientSocket *client, char* msg, int len);
 void socket_loop(int timeout_seconds);
 void putsock(struct ClientSocket *client, const char *text, ...) PRINTF_LIKE(2, 3);
 struct ClientSocket* getBots(int flags, struct ClientSocket* last_bot);
+void free_sockets();
 
 #endif
\ No newline at end of file