Fix typo in previous commit. Remove more lines now that the PSendSysMessage isn't calling the uneccesary name.

--HG--
branch : trunk
This commit is contained in:
p0wer committed 2010-02-24 21:34:24 -06:00
1 parent ba51f553fc
commit 8c06fe676f
2 files changed
+2 -4

No files matched your search

+2 -2
View File
@@ -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;
}