Commits

Anonymous committed d72b273

Removed some commented out code.

git-svn-id: https://svn.electricmonk.nl/svn/hircd/trunk@2173c2b06a-06ba-454a-85af-d11de2e08ddc

Comments (0)

Files changed (1)

                                 params = ''
                             handler = getattr(self, 'handle_%s' % (command.lower()), None)
                             if not handler:
-                                logging.info('No handler for command: %s' % (line))
+                                logging.info('No handler for command: %s. Full line: %s' % (command, line))
                                 raise IRCError(ERR_UNKNOWNCOMMAND, '%s :Unknown command' % (command))
-                                # FIXME: Raise an error here and send it to the client.
-                                break
                             response = handler(params)
                         except AttributeError, e:
                             raise e
         self.mode = mode
         self.realname = realname
         return('')
-        #response = ':localhost 375 :-MOTD START\r\n:localhost 372 :This is the MOTD\r\n:localhost 376 :End of MOTD'
-        #return(response)
 
     def handle_ping(self, params):
         """