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