mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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:
|
||||
name = ircdb.users.getUserName(msg.prefix)
|
||||
except KeyError:
|
||||
irc.error(msg, 'You must register first')
|
||||
irc.error(msg, conf.replyNotRegistered)
|
||||
return
|
||||
if table == "lart" or table == "praise":
|
||||
if '$who' not in s:
|
||||
@ -297,7 +297,7 @@ class FunDB(callbacks.Privmsg):
|
||||
try:
|
||||
ircdb.users.getUserName(msg.prefix)
|
||||
except KeyError:
|
||||
irc.error(msg, 'You must register first')
|
||||
irc.error(msg, conf.replyNotRegistered)
|
||||
return
|
||||
try:
|
||||
id = int(id)
|
||||
|
Loading…
Reference in New Issue
Block a user