mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-24 03:29:28 +01:00
Switched a couple error messages to use conf.replyNotRegistered
This commit is contained in:
parent
f8c85b07bc
commit
ecdcc63756
@ -264,7 +264,7 @@ class FunDB(callbacks.Privmsg):
|
|||||||
try:
|
try:
|
||||||
name = ircdb.users.getUserName(msg.prefix)
|
name = ircdb.users.getUserName(msg.prefix)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.error(msg, 'You must register first')
|
irc.error(msg, conf.replyNotRegistered)
|
||||||
return
|
return
|
||||||
if table == "lart" or table == "praise":
|
if table == "lart" or table == "praise":
|
||||||
if '$who' not in s:
|
if '$who' not in s:
|
||||||
@ -297,7 +297,7 @@ class FunDB(callbacks.Privmsg):
|
|||||||
try:
|
try:
|
||||||
ircdb.users.getUserName(msg.prefix)
|
ircdb.users.getUserName(msg.prefix)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.error(msg, 'You must register first')
|
irc.error(msg, conf.replyNotRegistered)
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
id = int(id)
|
id = int(id)
|
||||||
|
Loading…
Reference in New Issue
Block a user