Browse Source

getnick doean't return error if was set before

pull/581/head
orignal 8 years ago
parent
commit
3b9b827ebf
  1. 3
      BOB.cpp

3
BOB.cpp

@ -409,6 +409,9 @@ namespace client
{ {
m_Keys = m_CurrentDestination->GetKeys (); m_Keys = m_CurrentDestination->GetKeys ();
m_Nickname = operand; m_Nickname = operand;
}
if (m_Nickname == operand)
{
std::string msg ("Nickname set to "); std::string msg ("Nickname set to ");
msg += m_Nickname; msg += m_Nickname;
SendReplyOK (msg.c_str ()); SendReplyOK (msg.c_str ());

Loading…
Cancel
Save