Oops, forgot to commit this with the Note commits.

This commit is contained in:
Jeremy Fincher 2004-07-20 07:06:52 +00:00
parent b1db39971d
commit 87d8d60e2e
2 changed files with 3 additions and 2 deletions

View File

@ -426,8 +426,9 @@ class RichReplyMethods(object):
v = conf.supybot.replies.notRegistered.get(self.msg.args[0])() v = conf.supybot.replies.notRegistered.get(self.msg.args[0])()
self.error(self.__makeReply(v, s), **kwargs) self.error(self.__makeReply(v, s), **kwargs)
def errorNoUser(self, s='', **kwargs): def errorNoUser(self, s='', name='that user', **kwargs):
v = conf.supybot.replies.noUser.get(self.msg.args[0])() v = conf.supybot.replies.noUser.get(self.msg.args[0])()
v = v % name
self.error(self.__makeReply(v, s), **kwargs) self.error(self.__makeReply(v, s), **kwargs)
def errorRequiresPrivacy(self, s='', **kwargs): def errorRequiresPrivacy(self, s='', **kwargs):

View File

@ -396,7 +396,7 @@ registerChannelValue(supybot.replies, 'incorrectAuthentication',
and neither credential is correct.""")) and neither credential is correct."""))
registerChannelValue(supybot.replies, 'noUser', registerChannelValue(supybot.replies, 'noUser',
registry.NormalizedString("""I can't find that user in my user registry.NormalizedString("""I can't find %s in my user
database. If you didn't give a user name, then I might not know what your database. If you didn't give a user name, then I might not know what your
user is, and you'll need to identify before this command might work.""", user is, and you'll need to identify before this command might work.""",
"""Determines what error message the bot replies with when someone tries """Determines what error message the bot replies with when someone tries