mirror of
https://github.com/reactos/rosev_ircsystem.git
synced 2024-11-26 21:30:32 +00:00
[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:
parent
fc5fca33f9
commit
4759157fb2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user