Moved a comment to the appropriate place.

This commit is contained in:
Jeremy Fincher 2005-06-08 16:24:54 +00:00
parent 0027916214
commit 0d83dde909

View File

@ -1050,16 +1050,16 @@ class SynchronizedAndFirewalled(log.MetaFirewall, utils.python.Synchronized):
pass # Necessary for the metaclass compatibility issue. pass # Necessary for the metaclass compatibility issue.
class Commands(BasePlugin): class Commands(BasePlugin):
# For awhile, a comment stood here to say, "Eventually callCommand." But
# that's wrong, because we can't do generic error handling in this
# callCommand -- plugins need to be able to override callCommand and do
# error handling there (see the Http plugin for an example).
__metaclass__ = SynchronizedAndFirewalled __metaclass__ = SynchronizedAndFirewalled
__synchronized__ = ( __synchronized__ = (
'__call__', '__call__',
'callCommand', 'callCommand',
'invalidCommand', 'invalidCommand',
) )
# For awhile, a comment stood here to say, "Eventually callCommand." But
# that's wrong, because we can't do generic error handling in this
# callCommand -- plugins need to be able to override callCommand and do
# error handling there (see the Web plugin for an example).
__firewalled__ = {'isCommand': None, __firewalled__ = {'isCommand': None,
'_callCommand': None} '_callCommand': None}
commandArgs = ['self', 'irc', 'msg', 'args'] commandArgs = ['self', 'irc', 'msg', 'args']