From: Craig Andrews Date: Tue, 31 Aug 2010 04:11:22 +0000 (-0400) Subject: handle_command -> handleCommand X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=463e9c10d1c41b324ada5d6d14c079a11460f581;p=quix0rs-gnu-social.git handle_command -> handleCommand --- diff --git a/lib/implugin.php b/lib/implugin.php index 97b3788e3a..25c3e96f97 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)) {