cvs: pearbot /modules pearcmds.php
| From: | Mirco 'meebey' Bauer | Date: | Sat, 26 Jul 2003 11:16:43 +0000 |
| Subject: | cvs: pearbot /modules pearcmds.php | ||
| Groups: | php.pear.bot | ||
| Request: | Send a blank email to pear-bot+get-30@lists.php.net to get a copy of this message | ||
meebey Sat Jul 26 07:16:43 2003 EDT
Modified files:
/pearbot/modules pearcmds.php
Log:
- fixed missing channel type.
Index: pearbot/modules/pearcmds.php
diff -u pearbot/modules/pearcmds.php:1.2 pearbot/modules/pearcmds.php:1.3
--- pearbot/modules/pearcmds.php:1.2 Sat Jul 26 07:03:01 2003
+++ pearbot/modules/pearcmds.php Sat Jul 26 07:16:43 2003
@@ -1,9 +1,9 @@
<?php
/**
- * $Id: pearcmds.php,v 1.2 2003/07/26 11:03:01 meebey Exp $
- * $Revision: 1.2 $
+ * $Id: pearcmds.php,v 1.3 2003/07/26 11:16:43 meebey Exp $
+ * $Revision: 1.3 $
* $Author: meebey $
- * $Date: 2003/07/26 11:03:01 $
+ * $Date: 2003/07/26 11:16:43 $
*
* Copyright (c) 2003 Nicolas CHAILLAN <nicos@php.net>
*/
@@ -20,7 +20,7 @@
function module_init(&$irc)
{
- $this->actionids[] =
$irc->registerActionhandler(SMARTIRC_TYPE_QUERY|SMARTIRC_TYPE_NOTICE, '^!pear', $this,
'pear');
+ $this->actionids[] =
$irc->registerActionhandler(SMARTIRC_TYPE_CHANNEL|SMARTIRC_TYPE_QUERY|SMARTIRC_TYPE_NOTICE,
'^!pear', $this, 'pear');
}
function module_exit(&$irc)