fixed missing return
[NeonServV5.git] / WHOHandler.c
index f2de5a1fd1cee519aa4c0a7527406e34576d11db..b4be93d1a06bd46793c87783f8db18c9a4784f2d 100644 (file)
@@ -30,6 +30,7 @@ static struct WHOQueueEntry* addWHOQueueEntry(struct ClientSocket *client) {
         last_entry->next = entry;
     if(!first_entry)
         first_entry = entry;
+    return entry;
 }
 
 static struct WHOQueueEntry* getNextWHOQueueEntry(struct ClientSocket *client, int freeEntry) {