summaryrefslogtreecommitdiff
path: root/lib/implugin.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-08-31 00:11:22 -0400
committerCraig Andrews <candrews@integralblue.com>2010-09-03 17:50:29 -0400
commit463e9c10d1c41b324ada5d6d14c079a11460f581 (patch)
tree5b97895620f22450a2259eda934d89bb2fa92e9d /lib/implugin.php
parent671b0f4cd99b330dc0fef1627f112dc765ff07b3 (diff)
handle_command -> handleCommand
Diffstat (limited to 'lib/implugin.php')
-rw-r--r--lib/implugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/implugin.php b/lib/implugin.php
index 97b3788e3..25c3e96f9 100644
--- a/lib/implugin.php
+++ b/lib/implugin.php
@@ -384,7 +384,7 @@ abstract class ImPlugin extends Plugin
* @param string $body message text
* @return boolean true if the message was a command and was executed, false if it was not a command
*/
- protected function handle_command($user, $body)
+ protected function handleCommand($user, $body)
{
$inter = new CommandInterpreter();
$cmd = $inter->handle_command($user, $body);
@@ -450,7 +450,7 @@ abstract class ImPlugin extends Plugin
common_log(LOG_WARNING, 'Message from unknown user ' . $from);
return;
}
- if ($this->handle_command($user, $notice_text)) {
+ if ($this->handleCommand($user, $notice_text)) {
common_log(LOG_INFO, "Command message by $from handled.");
return;
} else if ($this->is_autoreply($notice_text)) {