| 1 |
<?php |
<?php |
| 2 |
// $Id: bot.module,v 1.9.2.9.2.1 2008/04/09 00:42:33 morbus Exp $ |
// $Id: bot.module,v 1.9.2.9.2.2 2008/04/09 00:50:39 morbus Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 155 |
* Configures the bot framework; system_settings_form(). |
* Configures the bot framework; system_settings_form(). |
| 156 |
*/ |
*/ |
| 157 |
function bot_settings() { |
function bot_settings() { |
|
$form = array(); |
|
|
|
|
| 158 |
$form['bot_server'] = array( |
$form['bot_server'] = array( |
| 159 |
'#default_value' => variable_get('bot_server', 'irc.freenode.net'), |
'#default_value' => variable_get('bot_server', 'irc.freenode.net'), |
| 160 |
'#description' => t('Enter the IRC server the bot will connect to.'), |
'#description' => t('Enter the IRC server the bot will connect to.'), |