cvs: pearbot / PEARbot.php
[email protected] ("Mirco 'meebey' Bauer") Sat, 26 Jul 2003 12:43:41 -0000
| Newsgroups | php.pear.bot |
|---|---|
| Message-ID | <cvsmeebey1059223421@cvsserver> |
meebey Sat Jul 26 08:43:41 2003 EDT
Modified files:
/pearbot PEARbot.php
Log:
- the modules are under LGPL license, let's load them.
Index: pearbot/PEARbot.php
diff -u pearbot/PEARbot.php:1.17 pearbot/PEARbot.php:1.18
--- pearbot/PEARbot.php:1.17 Sat Jul 26 07:41:18 2003
+++ pearbot/PEARbot.php Sat Jul 26 08:43:41 2003
@@ -1,7 +1,7 @@
#!/home/meebey/php
<?php
/**
- * $Id: PEARbot.php,v 1.17 2003/07/26 11:41:18 meebey Exp $
+ * $Id: PEARbot.php,v 1.18 2003/07/26 12:43:41 meebey Exp $
*
* PEARbot
* this is an IRC service bot for #pear written in PHP
@@ -183,8 +183,8 @@
$irc->setReceiveTimeout(600);
$irc->setTransmitTimeout(600);
-//$irc->loadModule('botcmds');
-//$irc->loadModule('pearcmds');
+$irc->loadModule('botcmds');
+$irc->loadModule('pearcmds');
$irc->registerActionhandler(SMARTIRC_TYPE_JOIN, '.*', $bot, 'onjoin');
$irc->registerActionhandler(SMARTIRC_TYPE_CHANNEL|SMARTIRC_TYPE_QUERY|SMARTIRC_TYPE_NOTICE, '^!who ', $bot, 'who');