Fixed a typo. prfix->prefix

This commit is contained in:
James Vega 2003-08-19 01:20:56 +00:00
parent 23f2106c1a
commit 7aabcfd41d

View File

@ -152,7 +152,7 @@ class Topic(callbacks.Privmsg):
irc.error(msg, conf.replyNoUser)
return
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.')
return
newTopic = self.topicFormatter % (replacer(topic), name)