git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9364 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
w00t 2008-04-05 20:09:14 +00:00
parent cf3848fd36
commit 335ab1528d

View File

@ -26,7 +26,9 @@ bool TreeSocket::DelLine(const std::string &prefix, std::deque<std::string> &par
if (params.size() < 2)
return true;
Instance->Logs->Log("loltree", DEBUG, "DELLINE: %s %s", params[0].c_str(), params[1].c_str());
std::string setter = "<unknown>";
User* user = Instance->FindNick(prefix);
if (user)
setter = user->nick;