]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- allow specify project name from config
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 28 Mar 2005 18:02:29 +0000 (18:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-irc-config.patch -> 1.3
    eventum-irc.php -> 1.2

eventum-irc-config.patch
eventum-irc.php

index a36e3a72806d589c7382f96223646ef3a636c976..cecd556d4f31f0499c52073b252f2de4ef5f8d84 100644 (file)
@@ -1,5 +1,5 @@
---- ../BUILD/eventum-1.4/misc/irc/bot.php      2005-01-05 01:06:16.000000000 +0200
-+++ a/misc/irc/bot.php 2005-01-18 16:09:13.000000000 +0200
+--- ./misc/irc/bot.php 2005-01-05 01:06:16.000000000 +0200
++++ ./misc/irc/bot.php 2005-01-18 16:09:13.000000000 +0200
 @@ -52,10 +52,12 @@
      exit;
  }
  foreach ($channels as $prj_id => $channel_list) {
      $irc->join($channel_list);
  }
-@@ -366,4 +367,4 @@
+--- ./misc/irc/bot.php~        2005-03-14 14:47:40.000000000 +0200
++++ ./misc/irc/bot.php 2005-03-28 20:58:31.000000000 +0300
+@@ -56,7 +56,7 @@
  
- // release the lock
- Lock::release('irc_bot');
--?>
-\ No newline at end of file
-+?>
+ // SETUP: need to change the project name in here
+ $channels = array(
+-    Project::getID('Default Project') => array(
++    Project::getID($irc_default_project) => array(
+         $irc_default_channel,
+     )
+ );
index 288742cfe0b8ee0b4e7809afba7b3818aef28f73..7a5a877cfe052f88d19174820a368cdfd60defeb 100644 (file)
@@ -8,5 +8,6 @@ $irc_realname = 'EventumBot';
 $irc_username = 'EventumBot';
 
 $irc_default_channel = '#issues';
+$irc_default_project = 'Default Project';
 
 ?>
This page took 0.102023 seconds and 4 git commands to generate.