fix regex typo

This commit is contained in:
Ryan Hitchman 2010-03-11 21:32:49 -07:00
parent a89b558395
commit 20fdb82b2d
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def forget(inp, chan='', db=None):
return "I don't know about that."
@hook.regex(r'\?(.+)')
@hook.regex(r'^\?(.+)')
def question(inp, chan='', say=None, db=None):
"?<word> -- shows what data is associated with word"
db_init(db)