summaryrefslogtreecommitdiff
path: root/src/net/tmwa/partyhandler.cpp
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-08-27 19:03:18 +0200
committerJared Adams <jaxad0127@gmail.com>2010-08-27 11:17:35 -0600
commitef9eec73b3cc96ebecdc061e9e956a462fdcc19f (patch)
tree3e7d4cdc5db041d8a782266e85cc9e7d068b9863 /src/net/tmwa/partyhandler.cpp
parentc538f6372d9068140231749b0225a6a355009074 (diff)
downloadmana-ef9eec73b3cc96ebecdc061e9e956a462fdcc19f.tar.gz
mana-ef9eec73b3cc96ebecdc061e9e956a462fdcc19f.tar.bz2
mana-ef9eec73b3cc96ebecdc061e9e956a462fdcc19f.tar.xz
mana-ef9eec73b3cc96ebecdc061e9e956a462fdcc19f.zip
Changing findBeingByName so that it searches case insensitive
Adding error message when trying to create a party with to long name. Removing non-existing files from C::B project. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'src/net/tmwa/partyhandler.cpp')
-rw-r--r--src/net/tmwa/partyhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index 76108e9c..a88a27b6 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -333,7 +333,7 @@ void PartyHandler::invite(const std::string &name)
{
invite((Player *)invitee);
partyTab->chatLog(strprintf(_("Invited user %s to party."),
- name.c_str()), BY_SERVER);
+ invitee->getName().c_str()), BY_SERVER);
}
else if (partyTab)
{