diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-10 13:00:19 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-10 13:00:19 -0600 |
commit | 6e3a3c345a2cad8308738b8b7b5292b9002c1a6e (patch) | |
tree | f0d6bd2c7ec471c7278b9192c314f887c4e9a006 | |
parent | 99d1fe7eab7b9b8e970be7ce2ae11d0533526ad0 (diff) | |
download | mana-6e3a3c345a2cad8308738b8b7b5292b9002c1a6e.tar.gz mana-6e3a3c345a2cad8308738b8b7b5292b9002c1a6e.tar.bz2 mana-6e3a3c345a2cad8308738b8b7b5292b9002c1a6e.tar.xz mana-6e3a3c345a2cad8308738b8b7b5292b9002c1a6e.zip |
Fix a segfault
-rw-r--r-- | src/net/ea/partyhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 0e972958..c906eaef 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -103,7 +103,8 @@ void PartyHandler::handleMessage(MessageIn &msg) partyWindow->updateMember(id, nick, leader, online); Being *being = beingManager->findBeing(id); - being->setName(nick); + if (being) + being->setName(nick); } partyWindow->setVisible(true); |