From 5815b3b34833346f86acd2b0eb8e980dc4f087a2 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 30 May 2005 19:19:43 +0000 Subject: [PATCH] Added some elucidating comments. --- src/callbacks.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/callbacks.py b/src/callbacks.py index 146a37faf..697f0c144 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -1294,8 +1294,14 @@ class PluginRegexp(Plugin): list) attribute "regexps". """ flags = re.I + # 'regexps' methods are called whether the message is addressed or not. regexps = () + # 'addressedRegexps' methods are called only when the message is addressed, + # and then, only with the payload (i.e., what is returned from the + # 'addressed' function. addressedRegexps = () + # 'unaddressedRegexps' methods are called only when the message is *not* + # addressed. unaddressedRegexps = () Proxy = SimpleProxy def __init__(self, irc):