[pybot-commits] CVS: pybot/pybot/modules messages.py,1.3,1.4 plock.py,1.4,1.5
Brought to you by:
niemeyer
From: Gustavo N. <nie...@us...> - 2002-03-19 18:32:09
|
Update of /cvsroot/pybot/pybot/pybot/modules In directory usw-pr-cvs1:/tmp/cvs-serv543 Modified Files: messages.py plock.py Log Message: - Fixed typo; - Unregister help when unloading module; - Changed plock dir. Index: messages.py =================================================================== RCS file: /cvsroot/pybot/pybot/pybot/modules/messages.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** messages.py 4 Dec 2001 00:57:38 -0000 1.3 --- messages.py 19 Mar 2002 18:32:06 -0000 1.4 *************** *** 25,30 **** ("""\ You may leave a message to another user with "[priv[ate]] message (to|for) \ ! <nick>: <message>". I'll let <nick> know about your message when he join \ ! or speak something in one of the channels I'm in.\ """,)] --- 25,30 ---- ("""\ You may leave a message to another user with "[priv[ate]] message (to|for) \ ! <nick>: <message>". I'll let <nick> know about your message when he joins \ ! or speaks something in one of the channels I'm in.\ """,)] *************** *** 45,48 **** --- 45,50 ---- hooks.unregister("Message", self.message) hooks.unregister("UserJoined", self.checkmsgs) + + mm.unregister_help(HELP) def checkmsgs(self, server, target, user): Index: plock.py =================================================================== RCS file: /cvsroot/pybot/pybot/pybot/modules/plock.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** plock.py 4 Dec 2001 00:57:38 -0000 1.4 --- plock.py 19 Mar 2002 18:32:06 -0000 1.5 *************** *** 64,68 **** class PLock: def __init__(self, bot): ! self.pdir = "/mnt/locks/" hooks.register("Message", self.message) options.gethard("UserData.type", {}).setdefault("email", "~") --- 64,68 ---- class PLock: def __init__(self, bot): ! self.pdir = "/cnc/distro/locks/" hooks.register("Message", self.message) options.gethard("UserData.type", {}).setdefault("email", "~") |