diff options
-rw-r--r-- | TODO | 2 | ||||
-rwxr-xr-x | miniircd | 12 |
2 files changed, 0 insertions, 14 deletions
@@ -1,5 +1,3 @@ * Use optparse. -* Remove/disable debug code. - * Don't use a set in client.messageChannel. @@ -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() |