SOURCES: eventum-irc.php - channel setup is now a array

glen glen at pld-linux.org
Sat Sep 17 16:31:26 CEST 2005


Author: glen                         Date: Sat Sep 17 14:31:26 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- channel setup is now a array

---- Files affected:
SOURCES:
   eventum-irc.php (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/eventum-irc.php
diff -u SOURCES/eventum-irc.php:1.4 SOURCES/eventum-irc.php:1.5
--- SOURCES/eventum-irc.php:1.4	Sat Aug 20 13:35:29 2005
+++ SOURCES/eventum-irc.php	Sat Sep 17 16:31:21 2005
@@ -3,11 +3,18 @@
 $irc_server_hostname = 'localhost';
 $irc_server_port = 6667;
 
-$irc_default_channel = '#issues';
-$irc_default_project = 'Default Project';
+// the following is the list of IRC channels that the bot should connect to,
+// and the associated project name
+$irc_channels = array(
+	# Project Name -> IRC Channel
+	'Default Project' => '#issues',
+);
 
 $nickname = 'EventumBOT';
 $realname = 'Eventum Issue Tracking System';
+
+// do you need a username/password to connect to this server? if
+// so, fill in the next two variables
 $username = '';
 $password = '';
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-irc.php?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list