fixed last commit #2
[NeonServV5.git] / modcmd.c
index bd39a47bf43455ac15a125e99813ee2181f0df80..cb56f086c2e080fb1b73f771d531dd5be02cb77f 100644 (file)
--- a/modcmd.c
+++ b/modcmd.c
@@ -24,7 +24,7 @@ static int get_binds_index(char first_char) {
     return 26;
 }
 
-struct* ClientSocket get_prefered_bot(int botid) {
+struct ClientSocket* get_prefered_bot(int botid) {
     struct ClientSocket *client, *source = NULL;
     for(client = getBots(SOCKET_FLAG_READY, NULL); client; client = getBots(SOCKET_FLAG_READY, client)) {
         if(client->botid == botid && (client->flags & SOCKET_FLAG_PREFERED))