From 84ca6f2ae313903acde7f7715427e9f7c8ee1b66 Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 9 Apr 2009 10:53:02 -0400 Subject: [PATCH] callbacks: Update PluginRegexp docstring to reference (un)addressedRegexps Signed-off-by: James Vega --- src/callbacks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/callbacks.py b/src/callbacks.py index 4c24c6fcd..9b31e2878 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -1309,8 +1309,10 @@ Privmsg = Plugin # Backwards compatibility. class PluginRegexp(Plugin): """Same as Plugin, except allows the user to also include regexp-based - callbacks. All regexp-based callbacks must be specified in a set (or - list) attribute "regexps". + callbacks. All regexp-based callbacks must be specified in the set (or + list) attribute "regexps", "addressedRegexps", or "unaddressedRegexps" + depending on whether they should always be triggered, triggered only when + the bot is addressed, or triggered only when the bot isn't addressed. """ flags = re.I # 'regexps' methods are called whether the message is addressed or not.