]> git.pld-linux.org Git - packages/eventum.git/blobdiff - eventum-irc-config.patch
- fix patch header
[packages/eventum.git] / eventum-irc-config.patch
index ee52331c2e68be90e0061e1a897bdd8464dd9bb8..a36e3a72806d589c7382f96223646ef3a636c976 100644 (file)
@@ -1,35 +1,35 @@
 --- ../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
 @@ -52,10 +52,12 @@
-     exit;\r
- }\r
\r
-+include '/etc/eventum/irc.php';\r
-+\r
- // SETUP: need to change the project name in here\r
- $channels = array(\r
-     Project::getID('Default Project') => array(\r
--        '#issues',\r
-+        $irc_default_channel,\r
-     )\r
- );\r
\r
+     exit;
+ }
++include '/etc/eventum/irc.php';
++
+ // SETUP: need to change the project name in here
+ $channels = array(
+     Project::getID('Default Project') => array(
+-        '#issues',
++        $irc_default_channel,
+     )
+ );
 @@ -355,9 +357,8 @@
- $irc->registerActionhandler(SMARTIRC_TYPE_QUERY, '^!?list-clocked-in', $bot, 'listClockedInUsers');\r
- $irc->registerActionhandler(SMARTIRC_TYPE_QUERY, '^!?list-quarantined', $bot, 'listQuarantinedIssues');\r
\r
--\r
--$irc->connect('localhost', 6667);\r
--$irc->login('EventumBOT', 'EventumBOT', 0, 'EventumBOT');\r
-+$irc->connect($irc_host, $irc_port);\r
-+$irc->login($irc_nick, $irc_realname, 0, $irc_username);\r
- foreach ($channels as $prj_id => $channel_list) {\r
-     $irc->join($channel_list);\r
- }\r
+ $irc->registerActionhandler(SMARTIRC_TYPE_QUERY, '^!?list-clocked-in', $bot, 'listClockedInUsers');
+ $irc->registerActionhandler(SMARTIRC_TYPE_QUERY, '^!?list-quarantined', $bot, 'listQuarantinedIssues');
+-
+-$irc->connect('localhost', 6667);
+-$irc->login('EventumBOT', 'EventumBOT', 0, 'EventumBOT');
++$irc->connect($irc_host, $irc_port);
++$irc->login($irc_nick, $irc_realname, 0, $irc_username);
+ foreach ($channels as $prj_id => $channel_list) {
+     $irc->join($channel_list);
+ }
 @@ -366,4 +367,4 @@
\r
- // release the lock\r
- Lock::release('irc_bot');\r
+ // release the lock
+ Lock::release('irc_bot');
 -?>
 \ No newline at end of file
-+?>\r
++?>
This page took 0.034953 seconds and 4 git commands to generate.