Fixed a _really stupid_ error message buglet. Man I suck sometimes.

This commit is contained in:
Daniel DiPaolo 2003-12-22 01:03:09 +00:00
parent cb5c22c9dc
commit 7b0af3d67f

View File

@ -468,7 +468,7 @@ class MoobotFactoids(callbacks.PrivmsgCommandAndRegexp):
return
else:
if locked_by is None:
irc.error(msg, "Factoid '%r is not locked." % key)
irc.error(msg, "Factoid %r is not locked." % key)
return
# Can only lock/unlock own factoids unless you're an admin
if not (ircdb.checkCapability(id, 'admin') or created_by == id):