Skip to content

Commit

Permalink
Log duplicate UUID events a bit better
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12580 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
danieldg committed Mar 2, 2010
1 parent dcc8063 commit a6560f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/m_spanningtree/uid.cpp
Expand Up @@ -76,6 +76,7 @@ CmdResult CommandUID::Handle(const parameterlist &params, User* serversrc)
}
catch (...)
{
ServerInstance->Logs->Log("m_spanningtree", DEFAULT, "Duplicate UUID %s in client introduction", params[0].c_str());
return CMD_INVALID;
}
(*(ServerInstance->Users->clientlist))[params[2]] = _new;
Expand Down
3 changes: 3 additions & 0 deletions src/socketengines/socketengine_epoll.cpp
Expand Up @@ -233,6 +233,9 @@ int EPollEngine::DispatchEvents()
{
ReadEvents++;
eh->HandleEvent(EVENT_READ);
if (eh != ref[events[j].data.fd])
// whoa! we got deleted, better not give out the write event
continue;
}
if (events[j].events & EPOLLOUT)
{
Expand Down

0 comments on commit a6560f4

Please sign in to comment.