mirror of https://github.com/Mikaela/Limnoria.git
Changed a few typos: irc.users -> ircdb.users.
This commit is contained in:
parent
5ef41fa445
commit
25d90d6e43
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue