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