diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2011-08-20 22:56:24 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2011-08-21 15:57:19 +0200 |
commit | 33a59734d80b63630dee8dbab0578a7c18d11bef (patch) | |
tree | 9b4f6a65db22fa011bd8f02177a1e2623145aafe | |
parent | 78b377444eccb77eb38ee7f3ae4155e59897569b (diff) | |
download | miniircd-33a59734d80b63630dee8dbab0578a7c18d11bef.tar.gz miniircd-33a59734d80b63630dee8dbab0578a7c18d11bef.zip |
Remove unused stuff
-rwxr-xr-x | miniircd | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -645,8 +645,6 @@ class Server(object): _alpha = "abcdefghijklmnopqrstuvwxyz" -_special = "-[]\\`^{}" -nick_characters = _alpha + _alpha.upper() + string.digits + _special _ircstring_translation = string.maketrans( string.upper(_alpha) + "[]\\^", _alpha + "{}|~") @@ -656,26 +654,6 @@ def irc_lower(s): return string.translate(s, _ircstring_translation) -###################################################################### - - -def display_usage(): - print "Usage: miniircd [arguments]" - print - print "miniircd is a small and limited IRC server." - print - print "Arguments:" - print - print " -d, --daemon Fork and become a daemon." - print " --debug Print debug messages to stdout." - print " -h, --help Show this help text." - print " --motd X Display file X as message of the day." - print " -p, --password X Require connection password X. Default: no password." - print " --ports X Listen to ports X (a list separated by comma or" - print " whitespace). Default: 6667." - print " -v, --verbose Be verbose (print some progress messages on stdout)." - - def main(argv): op = OptionParser( version=version, |