cvs: pearbot /modules pearcmds.php
[email protected] ("Mirco 'meebey' Bauer") Sat, 26 Jul 2003 11:16:43 -0000
| Newsgroups | php.pear.bot |
|---|---|
| Message-ID | <cvsmeebey1059218203@cvsserver> |
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 <[email protected]>
*/
@@ -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)