Blob Blame History Raw
--- server/login.c.orig	2007-05-22 20:38:19.000000000 -0700
+++ server/login.c	2007-05-22 20:37:36.000000000 -0700
@@ -504,6 +504,8 @@
      */
     if ((fp=open_and_uncompress(filename,1,&comp)) == NULL) {
 	confirm_password(op);
+	LOG(llevInfo,"LOGIN: New player named %s from ip %s\n", op->name,
+	    pl->socket.host);
 	return;
     }
     if (fstat(fileno(fp), &statbuf)) {
@@ -705,6 +707,8 @@
     /* make sure he's a player--needed because of class change. */
     op->type = PLAYER;
 
+    LOG(llevInfo,"LOGIN: Player named %s from ip %s\n", op->name,
+        pl->socket.host);
     enter_exit(op,NULL);
 
     pl->name_changed=1;