Skip to content

Commit

Permalink
No need to pass the Node who sent the message as 'sender'
Browse files Browse the repository at this point in the history
svn path=/trunk/bitsharp/; revision=113483
  • Loading branch information
alanmcgovern committed Sep 18, 2008
1 parent 4e28cad commit e4d7e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MonoTorrent.Dht/MonoTorrent.Dht/DhtEngine.cs
Expand Up @@ -187,10 +187,10 @@ private void RaiseStateChanged(State newState)
StateChanged(this, EventArgs.Empty);
}

internal void RaisePeersFound(Node sender, NodeId infoHash, List<Peer> peers)
internal void RaisePeersFound(NodeId infoHash, List<Peer> peers)
{
if (PeersFound != null)
PeersFound(sender, new PeersFoundEventArgs(infoHash.Bytes, peers));
PeersFound(this, new PeersFoundEventArgs(infoHash.Bytes, peers));
}

#endregion
Expand Down

0 comments on commit e4d7e43

Please sign in to comment.