summaryrefslogtreecommitdiff
path: root/miniircd
AgeCommit message (Collapse)AuthorFilesLines
2011-11-23Add and use a create_directory functionJoel Rosdahl1-2/+7
2011-11-23Refactor code into Server.add_channel functionJoel Rosdahl1-3/+6
2011-11-23Allow specified key for keyless channelsJoel Rosdahl1-1/+3
2011-11-23Flush after writing info/debug messagesJoel Rosdahl1-0/+2
2011-11-21Add support for WALLOPSJoel Rosdahl1-0/+9
2011-11-17Add support for channel keysJoel Rosdahl1-38/+79
2011-11-16Send 422 message after registration when no MOTD is availableJoel Rosdahl1-0/+2
Apparently, some clients wait for either 422 or 376 to consider the registration procedure complete.
2011-09-22Refactor 403 reply into a methodJoel Rosdahl1-6/+6
2011-08-25Prepare for version 0.3Joel Rosdahl1-4/+4
2011-08-25Minor tweaks to welcome messagesJoel Rosdahl1-2/+2
2011-08-21Let message_channel always include the prefixJoel Rosdahl1-31/+11
2011-08-21Remove unused variablesJoel Rosdahl1-4/+1
2011-08-21Add optional logging of channelsJoel Rosdahl1-8/+36
2011-08-21Pass options instance to ServerJoel Rosdahl1-8/+8
2011-08-21Refactor 461 reply into a methodJoel Rosdahl1-10/+10
2011-08-21Remove unused stuffJoel Rosdahl1-22/+0
2011-08-21Tidy up the code a bitJoel Rosdahl1-239/+98
2011-08-21Minor cleanupJoel Rosdahl1-20/+7
2011-08-21Minor tweaksJoel Rosdahl1-12/+21
2011-08-21Use raw strings for regexpsJoel Rosdahl1-3/+3
2011-08-21Use optparse instead of getoptJoel Rosdahl1-46/+42
2011-08-21PEP8-ified namesJoel Rosdahl1-122/+122
2011-08-21Simplified propertiesJoel Rosdahl1-139/+79
2011-08-21Use set() instead of obsolete sets.Set()Joel Rosdahl1-5/+4
2011-08-21Understand but ignore AWAY commandsJoel Rosdahl1-0/+4
2011-08-21Send a 251 message upon registration since Pidgin apparently relies on itJoel Rosdahl1-0/+8
2011-08-21Add --debug flagJoel Rosdahl1-3/+19
2011-08-21Correct version numberJoel Rosdahl1-2/+2
2011-08-21Add MOTD and WHOIS commandsJoel Rosdahl1-2/+84
Added commandline switch --motd, which takes as the MOTD filename as a parameter. The MOTD, if specified, is sent to the client after registration. Also added MOTD command.
2011-08-21Add Emacs mode hintJoel Rosdahl1-0/+1
2011-08-21Don't send PING in the registration phase, just disconnectJoel Rosdahl1-2/+7
2011-08-21Add some explicit returns after call to Client.disconnectJoel Rosdahl1-1/+4
2011-08-21Remove unnecessary use of sets.Set in Client.messageChannelJoel Rosdahl1-5/+3
2011-08-21Remove debug codeJoel Rosdahl1-12/+0
2011-08-21Wrap most long lines to fit within 80 columnsJoel Rosdahl1-229/+246
2011-08-21Handle bad port specificationJoel Rosdahl1-1/+7
2011-08-21Open /dev/null for writing tooJoel Rosdahl1-3/+3
2011-08-21Add daemonization optionJoel Rosdahl1-6/+36
2011-08-21Add ping timeoutsJoel Rosdahl1-4/+29
Ping client if it has been quiet for a while and disconnect it if it doesn't pong.
2011-08-21Tiny fiddling with help textJoel Rosdahl1-2/+1
2011-08-21Make handler functions for commandsJoel Rosdahl1-13/+41
Broke a big if/elif/.../elfi/else chunk into functions.
2011-08-21Screw tagging-method implicitJoel Rosdahl1-1/+0
Use explicit tagging-method.
2011-08-21Add license, Makefile and some documentationJoel Rosdahl1-3/+23
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