name() is defined in IrcCallback, parent Class of plugins. Can't be used.

This commit is contained in:
Stéphan Kochen 2004-01-20 13:37:56 +00:00
parent 3936afc419
commit 7837ee2824

View File

@ -260,7 +260,7 @@ class User(callbacks.Privmsg):
else:
irc.error(conf.supybot.replies.incorrectAuthentication())
def name(self, irc, msg, args):
def username(self, irc, msg, args):
"""<hostmask|nick>
Returns the username of the user specified by <hostmask> or <nick> if