mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed a _really stupid_ error message buglet. Man I suck sometimes.
This commit is contained in:
parent
cb5c22c9dc
commit
7b0af3d67f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user