diff options
| author | p0wer <none@none> | 2010-02-24 21:34:24 -0600 |
|---|---|---|
| committer | p0wer <none@none> | 2010-02-24 21:34:24 -0600 |
| commit | 8c06fe676faa0e2a60f8848be0ae94d2cf0b2329 (patch) | |
| tree | f66663420deb75f80a7b83c2f963403e2e6d1b6a /src/game/Level3.cpp | |
| parent | ba51f553fc3a677aa4d8ae846f86f8a560d9982c (diff) | |
Fix typo in previous commit. Remove more lines now that the PSendSysMessage isn't calling the uneccesary name.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
| -rw-r--r-- | src/game/Level3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index e1e67ce99ad..e2bf6c3cfa3 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -7243,12 +7243,12 @@ bool ChatHandler::HandleChannelSetPublic(const char *args) if(val) { - CharacterDatabase.PExecute("UPDATE channels SET m_public = 1 WHERE n_name LIKE '%s'", channel); + CharacterDatabase.PExecute("UPDATE channels SET m_public = 1 WHERE m_name LIKE '%s'", channel); val = 1; } else { - CharacterDatabase.PExecute("UPDATE channels SET m_public = 0 WHERE n_name LIKE '%s'", channel); + CharacterDatabase.PExecute("UPDATE channels SET m_public = 0 WHERE m_name LIKE '%s'", channel); val = 0; } |
