[gozerbot] push by bthate - remove nickserv init() function as we need a bot defined there. on 2012-06-13 19:31 GMT

0 views
Skip to first unread message

goze...@googlecode.com

unread,
Jun 13, 2012, 3:31:52 PM6/13/12
to gozerbo...@googlegroups.com
Revision: 82912b12e776
Author: Bart Thate <bth...@gmail.com>
Date: Wed Jun 13 12:31:11 2012
Log: remove nickserv init() function as we need a bot defined there.
http://code.google.com/p/gozerbot/source/detail?r=82912b12e776

Modified:
/gozerbot/plugs/nickserv.py

=======================================
--- /gozerbot/plugs/nickserv.py Sat Jan 21 15:50:38 2012
+++ /gozerbot/plugs/nickserv.py Wed Jun 13 12:31:11 2012
@@ -103,11 +103,11 @@

## plugin initialisation

-def init():
- """ init the nickserv data. """
- passwd = config['nickservpass']
- if passwd: nsauth.add(bot, **{'password': passwd, 'nickservtxt':
config['nickservtxt']})
- return 1
+#def init():
+# """ init the nickserv data. """
+# passwd = config['nickservpass']
+# if passwd: nsauth.add(bot, **{'password': passwd, 'nickservtxt':
config['nickservtxt']})
+# return 1

## ns-add command

Reply all
Reply to author
Forward
0 new messages