Added necessary imports to configure.

This commit is contained in:
Jeremy Fincher 2003-09-11 12:32:39 +00:00
parent 60dc66927d
commit 7dfeb8d486

View File

@ -44,6 +44,7 @@ import ircutils
import callbacks import callbacks
def configure(onStart, afterConnect, advanced): def configure(onStart, afterConnect, advanced):
from questions import expect, anything, something, yn
onStart.append('load Enforcer') onStart.append('load Enforcer')
chanserv = something('What\'s the name of ChanServ on your network?') chanserv = something('What\'s the name of ChanServ on your network?')
if yn('Do you want the bot to take revenge on rule breakers?') == 'y': if yn('Do you want the bot to take revenge on rule breakers?') == 'y':