1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-13 11:03:19 +00:00

Tracking wip.

This commit is contained in:
Alex Bramley 2011-09-28 20:48:58 +01:00
parent c400a2141a
commit eb6ac4ce05
2 changed files with 64 additions and 29 deletions

View file

@ -27,10 +27,8 @@ type Conn struct {
Registry event.EventRegistry
Dispatcher event.EventDispatcher
// Map of channels we're on
chans map[string]*Channel
// Map of nicks we know about
nicks map[string]*Nick
// State tracker for nicks and channels
Tracker StateTracker
// Use the State field to store external state that handlers might need.
// Remember ... you might need locking for this ;-)