From 8c06fe676faa0e2a60f8848be0ae94d2cf0b2329 Mon Sep 17 00:00:00 2001 From: p0wer Date: Wed, 24 Feb 2010 21:34:24 -0600 Subject: Fix typo in previous commit. Remove more lines now that the PSendSysMessage isn't calling the uneccesary name. --HG-- branch : trunk --- src/game/Level3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Level3.cpp') 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; } -- cgit v1.2.3