]>
Commit | Line | Data |
---|---|---|
1105b2cd ER |
1 | --- ./misc/irc/bot.php.bak 2005-08-20 05:28:05.000000000 +0300 |
2 | +++ ./misc/irc/bot.php 2005-08-20 05:33:35.000000000 +0300 | |
3 | @@ -28,7 +28,6 @@ | |
4 | // @(#) $Id$ | |
5 | // | |
71c6fb06 | 6 | |
1105b2cd ER |
7 | -include_once("../../config.inc.php"); |
8 | include_once(APP_INC_PATH . "db_access.php"); | |
9 | include_once(APP_INC_PATH . "class.auth.php"); | |
10 | include_once(APP_INC_PATH . "class.lock.php"); | |
11 | @@ -41,8 +40,8 @@ | |
12 | // the following is the list of IRC channels that the bot should connect to, | |
13 | // and the associated project name | |
622e4f4b ER |
14 | $channels = array( |
15 | - Project::getID('Default Project') => array( | |
1105b2cd | 16 | - '#issues', |
622e4f4b | 17 | + Project::getID($irc_default_project) => array( |
1105b2cd | 18 | + $irc_default_channel, |
622e4f4b ER |
19 | ) |
20 | ); | |
1105b2cd ER |
21 | $irc_server_hostname = 'localhost'; |
22 | @@ -54,6 +53,8 @@ | |
23 | $username = ''; | |
24 | $password = ''; | |
3955d156 | 25 | |
1105b2cd ER |
26 | +include_once('/etc/eventum/irc.php'); |
27 | + | |
3955d156 | 28 | |
1105b2cd ER |
29 | // ============================================ |
30 | // ============================================ |