From 32e4ef85ffbff9f4f7688ee0de0343abea2ff8b6 Mon Sep 17 00:00:00 2001 From: xrogaan Date: Sat, 19 Jan 2008 17:17:01 +0000 Subject: [PATCH] 28 Rename plugin class file for a new file tree type (extend plugins feature) --- main.php | 4 ++-- sources/main-class.inc.php | 5 +++-- sources/{plugin-class.inc.php => plugins/Controller.php} | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) rename sources/{plugin-class.inc.php => plugins/Controller.php} (99%) diff --git a/main.php b/main.php index b80b8f6..33dd7cd 100755 --- a/main.php +++ b/main.php @@ -17,7 +17,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . * - * $Id: main.php 27 2008-01-19 14:04:53Z xrogaan $ + * $Id: main.php 28 2008-01-19 17:17:01Z xrogaan $ */ require_once('./config.php'); @@ -28,7 +28,7 @@ debug(true); require_once('./sources/main-class.inc.php'); require_once('./sources/irc-class.inc.php'); -require_once('./sources/plugin-class.inc.php'); +require_once('./sources/plugins/Controller.php'); require_once('./sources/tick-class.inc.php'); require_once('./sources/TextFormat-class.inc.php'); diff --git a/sources/main-class.inc.php b/sources/main-class.inc.php index 7d17150..7c42e3b 100644 --- a/sources/main-class.inc.php +++ b/sources/main-class.inc.php @@ -15,6 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . + * + * $Id: main-class.inc.php 28 2008-01-19 17:17:01Z xrogaan $ */ final class bot { @@ -163,7 +165,7 @@ final class bot { break; case 'VERSION': - self::notice($msg_info['from'],$this->formater->ctcp('RPGBot version '.bot::$botVersion.' - PHP '.phpversion().' -- par Tornald et Bloodshed')); + self::notice($msg_info['from'],$this->formater->ctcp('RPGBot version '.bot::$botVersion.' - PHP '.phpversion().' -- on http://irstat.org')); break; case 'USERINFO': @@ -446,4 +448,3 @@ final class bot { } } -?> diff --git a/sources/plugin-class.inc.php b/sources/plugins/Controller.php similarity index 99% rename from sources/plugin-class.inc.php rename to sources/plugins/Controller.php index 7f6fde9..0099c35 100644 --- a/sources/plugin-class.inc.php +++ b/sources/plugins/Controller.php @@ -15,6 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . + * + * $Id: Controller.php 28 2008-01-19 17:17:01Z xrogaan $ */ interface plugin { -- 2.11.4.GIT