Browse Source

getnick doean't return error if was set before

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

5
BOB.cpp

@ -409,10 +409,13 @@ namespace client @@ -409,10 +409,13 @@ namespace client
{
m_Keys = m_CurrentDestination->GetKeys ();
m_Nickname = operand;
}
if (m_Nickname == operand)
{
std::string msg ("Nickname set to ");
msg += m_Nickname;
SendReplyOK (msg.c_str ());
}
}
else
SendReplyError ("no nickname has been set");
}

Loading…
Cancel
Save