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