[ROSEV_IRCSYSTEM]

Insert the nickname lowercased into m_ExcludedNicknames, because it's used for searching.

svn path=/trunk/rosev_ircsystem/; revision=1276
This commit is contained in:
Colin Finck 2011-03-28 22:53:54 +00:00
parent fc5fca33f9
commit 4759157fb2

View File

@ -490,7 +490,7 @@ CVoteBot::SendPrivateMessage(CClient* Sender, const std::string& PrivateMessage)
if(m_ExcludedNicknames.find(NicknameLowercased) == m_ExcludedNicknames.end())
{
m_ExcludedNicknames.insert(PrivateMessage);
m_ExcludedNicknames.insert(NicknameLowercased);
Sender->SendPrivateMessage(this, "This nickname has been added to the list of excluded users. Enter another one or \"START\" to start the vote.");
}
else