mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
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):
|
if not ircdb.users.hasUser(name):
|
||||||
hostmask = irc.state.nickToHostmask(name)
|
hostmask = irc.state.nickToHostmask(name)
|
||||||
try:
|
try:
|
||||||
name = irc.users.getUserName(hostmask)
|
name = ircdb.users.getUserName(hostmask)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.error(msg, conf.replyNoUser)
|
irc.error(msg, conf.replyNoUser)
|
||||||
return
|
return
|
||||||
@ -254,7 +254,7 @@ class ChannelStats(callbacks.Privmsg, ChannelDBHandler):
|
|||||||
if not ircdb.users.hasUser(name):
|
if not ircdb.users.hasUser(name):
|
||||||
hostmask = irc.state.nickToHostmask(name)
|
hostmask = irc.state.nickToHostmask(name)
|
||||||
try:
|
try:
|
||||||
name = irc.users.getUserName(hostmask)
|
name = ircdb.users.getUserName(hostmask)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.error(msg, conf.replyNoUser)
|
irc.error(msg, conf.replyNoUser)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user