Commits

Toni Alatalo  committed 2b95959

fix irc example nick collisiong handling, by adding the missing import of irc.Nick

  • Participants
  • Parent commits 75d72a9
  • Branches py2

Comments (0)

Files changed (1)

File examples/ircclient.py

 from circuits import handler, Component
 from circuits import __version__ as systemVersion
 from circuits.net.sockets import TCPClient, Connect
-from circuits.net.protocols.irc import IRC, PRIVMSG, USER, NICK, JOIN
+from circuits.net.protocols.irc import IRC, PRIVMSG, USER, NICK, JOIN, Nick
 
 USAGE = "%prog [options] host [port]"
 VERSION = "%prog v" + systemVersion