Changed a few typos: irc.users -> ircdb.users.

This commit is contained in:
Jeremy Fincher 2003-04-15 15:37:35 +00:00
parent 5ef41fa445
commit 25d90d6e43

View File

@ -230,7 +230,7 @@ class ChannelStats(callbacks.Privmsg, ChannelDBHandler):
if not ircdb.users.hasUser(name):
hostmask = irc.state.nickToHostmask(name)
try:
name = irc.users.getUserName(hostmask)
name = ircdb.users.getUserName(hostmask)
except KeyError:
irc.error(msg, conf.replyNoUser)
return
@ -254,7 +254,7 @@ class ChannelStats(callbacks.Privmsg, ChannelDBHandler):
if not ircdb.users.hasUser(name):
hostmask = irc.state.nickToHostmask(name)
try:
name = irc.users.getUserName(hostmask)
name = ircdb.users.getUserName(hostmask)
except KeyError:
irc.error(msg, conf.replyNoUser)
return