mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 22:24:20 +01:00
Fixed a typo. prfix->prefix
This commit is contained in:
parent
23f2106c1a
commit
7aabcfd41d
@ -152,7 +152,7 @@ class Topic(callbacks.Privmsg):
|
|||||||
irc.error(msg, conf.replyNoUser)
|
irc.error(msg, conf.replyNoUser)
|
||||||
return
|
return
|
||||||
if name != senderName and \
|
if name != senderName and \
|
||||||
not ircdb.checkCapabilities(msg.prfix, ('op', 'admin')):
|
not ircdb.checkCapabilities(msg.prefix, ('op', 'admin')):
|
||||||
irc.error(msg, 'You can only modify your own topics.')
|
irc.error(msg, 'You can only modify your own topics.')
|
||||||
return
|
return
|
||||||
newTopic = self.topicFormatter % (replacer(topic), name)
|
newTopic = self.topicFormatter % (replacer(topic), name)
|
||||||
|
Loading…
Reference in New Issue
Block a user