From ecdcc63756c9149a1cb486f049934f8078f306af Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 8 Sep 2003 08:58:56 +0000 Subject: [PATCH] Switched a couple error messages to use conf.replyNotRegistered --- plugins/FunDB.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/FunDB.py b/plugins/FunDB.py index 0fb12bea7..9ee780c31 100755 --- a/plugins/FunDB.py +++ b/plugins/FunDB.py @@ -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)