]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/aClient.cpp
added items to the tavern.dat, added the filename option to the config file
[irc/gameservirc.git] / gameserv / aClient.cpp
index 2ca249ad93fa399f590f23076eee627819b12780..de5459547ec9a01f1260f9462156eb3b86b93a41 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.c_str(), stats->password.c_str()); 
        #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.c_str());
            #endif
 
            stats->setData(right->stats);