]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-irc-config.patch
- undos the patches
[packages/eventum.git] / eventum-irc-config.patch
1 --- ../BUILD/eventum-1.4/misc/irc/bot.php       2005-01-05 01:06:16.000000000 +0200
2 +++ a/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);
26  foreach ($channels as $prj_id => $channel_list) {
27      $irc->join($channel_list);
28  }
29 @@ -366,4 +367,4 @@
30  
31  // release the lock
32  Lock::release('irc_bot');
33 -?>
34 \ No newline at end of file
35 +?>
This page took 0.070411 seconds and 3 git commands to generate.