summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-21Add license, Makefile and some documentationJoel Rosdahl4-3/+415
Added COPYING, README and Makefile files and clarified help text for some switches.
2011-08-21Correct argument parsing and QUIT messageJoel Rosdahl1-5/+12
The text "QUIT :foo bar" was interpreted as command "QUIT" and arguments [":foo"]. Fixed. The real quit message (if given, otherwise the nickname as dictated by the RFC) is now sent to other clients. Previously, "Client quit" was always sent.
2011-08-21Remove late call to socket.peername()Joel Rosdahl1-1/+0
2011-08-21Fix use of socket.getpeername() after socket has been closedJoel Rosdahl1-2/+2
Also remember the port from the call in the constructor and use the stored host and port when writing the disconnect message.
2011-08-21Don't require python2.3 in the "#! line"Joel Rosdahl1-1/+1
Use "/usr/bin/env python". If the default python is not 2.3 (or newer), the user must pass the program as an argument to a sufficiently new python.
2011-08-21Initial importJoel Rosdahl1-0/+703