git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8718
e03df62e-2008-0410-955e-
edbf42e46eb7
void CullList::AddItem(User* user)
{
if (user->quitting)
+ {
+ ServerInstance->Log(DEBUG, "*** Warning *** - You tried to quit a user (%s) twice. Did your module call QuitUser twice?", user->nick);
return;
+ }
+ user->quitting = true;
list.push_back(user);
}
{
Instance->Log(DEBUG,"QuitUser: %s '%s'", user->nick, quitreason.c_str());
user->Write("ERROR :Closing link (%s@%s) [%s]", user->ident, user->host, *operreason ? operreason : quitreason.c_str());
- user->quitting = true;
user->quietquit = false;
user->quitmsg = quitreason;
user->operquitmsg = operreason;