summaryrefslogtreecommitdiff
path: root/miniircd
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2003-12-11 18:37:25 +0000
committerJoel Rosdahl <joel@rosdahl.net>2011-08-21 15:53:50 +0200
commit6acf640ae32bdad55f1a044a20866cb696e3cce7 (patch)
treed9c2875044c8eec9b4c6903393052192b9851a95 /miniircd
parent802d13c92c76c111e38d56219477d0f8ae7d9330 (diff)
downloadminiircd-6acf640ae32bdad55f1a044a20866cb696e3cce7.tar.gz
miniircd-6acf640ae32bdad55f1a044a20866cb696e3cce7.zip
Remove debug code
Diffstat (limited to 'miniircd')
-rwxr-xr-xminiircd12
1 files changed, 0 insertions, 12 deletions
diff --git a/miniircd b/miniircd
index 9fdc291..9e4ea64 100755
--- a/miniircd
+++ b/miniircd
@@ -154,8 +154,6 @@ class Client(object):
arguments = string.split(y[0])
if len(y) == 2:
arguments.append(y[1])
- if command == "DEBUG":
- self.__server.debug()
self.__handleCommand(command, arguments)
def __passHandler(self, command, arguments):
@@ -635,16 +633,6 @@ class Server(object):
self.__nicknames = {} # irc_lower(Nickname) --> Client instance.
self.__name = socket.getfqdn()[:63] # Server name limit from the RFC.
- def debug(self):
- print "channels:"
- print self.__channels
- print
- print "clients:"
- print self.__clients
- print
- print "nicknames:"
- print self.__nicknames
-
def daemonize(self):
try:
pid = os.fork()