]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/aClient.cpp
Implemented the myString class in the player and monster classes. This should make...
[irc/gameservirc.git] / gameserv / aClient.cpp
index 2ca249ad93fa399f590f23076eee627819b12780..0b1d0cbc6650f2fddbf83dd07fa9f59269efc930 100644 (file)
@@ -52,7 +52,7 @@ aClient::~aClient()
     if (stats)
     {
        #ifdef DEBUGMODE
-           log("aClient deleted: %s %s %s", nick, stats->name, stats->password); 
+           log("aClient deleted: %s %s %s", nick, stats->name.getString(), stats->password.getString()); 
        #endif
 
        delete stats;
@@ -86,7 +86,7 @@ void aClient::setData(const aClient *right)
            if (!stats)
                stats = new Player;
            #ifdef DEBUGMODE
-               log("Should be setting data for %s", right->stats->name);
+               log("Should be setting data for %s", right->stats->name.getString());
            #endif
 
            stats->setData(right->stats);