]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/aClient.cpp
updated the Change log w/ new additions
[irc/gameservirc.git] / gameserv / aClient.cpp
index 36ebd11063ca21f80e7c5ab57f3782d935512dab..8de6b3567170b0c262d149a3f562b91e4f7c938e 100644 (file)
@@ -92,22 +92,22 @@ ostream &operator<<( ostream &out, const aClient &c )
 
 void aClient::setData(const aClient *right)
 {
-    if (right != this)
+  if (right != this)
     {
-       strcpy(nick, right->nick);
-       #ifdef P10
-           strcpy(realnick, right->realnick);
-       #endif
-       if (right->stats)
-       {
-           if (!stats)
-               stats = new Player;
-           #ifdef DEBUGMODE
-               log("Should be setting data for %s", right->stats->getName().c_str());
-           #endif
-
-           stats->setData(right->stats);
-       }
+         strcpy(nick, right->nick);
+#ifdef P10
+         strcpy(realnick, right->realnick);
+#endif
+         if (right->stats)
+               {
+                 if (!stats)
+                       stats = new Player;
+#ifdef DEBUGMODE
+                 log("Should be setting data for %s", right->stats->getName().c_str());
+#endif
+                 
+                 stats->setData(right->stats);
+               }
     }
 }