]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-irc-config.patch
- add post 1.5.4 fixes
[packages/eventum.git] / eventum-irc-config.patch
1 --- ./misc/irc/bot.php  2005-01-05 01:06:16.000000000 +0200
2 +++ ./misc/irc/bot.php  2005-01-18 16:09:13.000000000 +0200
3 @@ -52,10 +52,12 @@
4      exit;
5  }
6  
7 +include '/etc/eventum/irc.php';
8 +
9  // SETUP: need to change the project name in here
10  $channels = array(
11      Project::getID('Default Project') => array(
12 -        '#issues',
13 +        $irc_default_channel,
14      )
15  );
16  
17 @@ -355,9 +357,8 @@
18  $irc->registerActionhandler(SMARTIRC_TYPE_QUERY, '^!?list-clocked-in', $bot, 'listClockedInUsers');
19  $irc->registerActionhandler(SMARTIRC_TYPE_QUERY, '^!?list-quarantined', $bot, 'listQuarantinedIssues');
20  
21 -
22 -$irc->connect('localhost', 6667);
23 -$irc->login('EventumBOT', 'EventumBOT', 0, 'EventumBOT');
24 +$irc->connect($irc_host, $irc_port);
25 +$irc->login($irc_nick, $irc_realname, 0, $irc_username, $irc_password);
26  foreach ($channels as $prj_id => $channel_list) {
27      $irc->join($channel_list);
28  }
29 --- ./misc/irc/bot.php~ 2005-03-14 14:47:40.000000000 +0200
30 +++ ./misc/irc/bot.php  2005-03-28 20:58:31.000000000 +0300
31 @@ -56,7 +56,7 @@
32  
33  // SETUP: need to change the project name in here
34  $channels = array(
35 -    Project::getID('Default Project') => array(
36 +    Project::getID($irc_default_project) => array(
37          $irc_default_channel,
38      )
39  );
This page took 0.04996 seconds and 3 git commands to generate.