Switched a couple error messages to use conf.replyNotRegistered

This commit is contained in:
James Vega 2003-09-08 08:58:56 +00:00
parent f8c85b07bc
commit ecdcc63756

View File

@ -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)