aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorp0wer <none@none>2010-02-24 21:12:08 -0600
committerp0wer <none@none>2010-02-24 21:12:08 -0600
commitfc2264bf891b4059a64b680e828731e6f33edd07 (patch)
tree2211a5fd0191ca9a4085ed37b7cbf40f7c3a8baa
parent3bbee4172ab475baf142779cd473416e380661c9 (diff)
Remove uneccesary addition for PSendSysMessage call in Channel when changing password without correct powers. No %s in the Trinity String.
--HG-- branch : trunk
-rw-r--r--src/game/Channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Channel.cpp b/src/game/Channel.cpp
index 3ce71bb1109..a8197f70e6d 100644
--- a/src/game/Channel.cpp
+++ b/src/game/Channel.cpp
@@ -374,7 +374,7 @@ void Channel::Password(uint64 p, const char *pass)
{
plName = plr->GetName();
normalizePlayerName(plName);
- chat.PSendSysMessage(LANG_CHANNEL_NOT_PUBLIC, plName.c_str());
+ chat.PSendSysMessage(LANG_CHANNEL_NOT_PUBLIC);
return;
}