is_autoreply -> isAutoreply

This commit is contained in:
Craig Andrews 2010-08-31 00:20:05 -04:00
parent cce92e394b
commit d68914e4f3
2 changed files with 3 additions and 3 deletions

View File

@ -402,7 +402,7 @@ abstract class ImPlugin extends Plugin
* @param string $txt message text
* @return boolean true if autoreply
*/
protected function is_autoreply($txt)
protected function isAutoreply($txt)
{
if (preg_match('/[\[\(]?[Aa]uto[-\s]?[Rr]e(ply|sponse)[\]\)]/', $txt)) {
return true;
@ -453,7 +453,7 @@ abstract class ImPlugin extends Plugin
if ($this->handleCommand($user, $notice_text)) {
common_log(LOG_INFO, "Command message by $from handled.");
return;
} else if ($this->is_autoreply($notice_text)) {
} else if ($this->isAutoreply($notice_text)) {
common_log(LOG_INFO, 'Ignoring auto reply from ' . $from);
return;
} else if ($this->is_otr($notice_text)) {

View File

@ -244,7 +244,7 @@ class IrcPlugin extends ImPlugin {
if ($this->handle_channel_command($user, $channel, $notice_text)) {
common_log(LOG_INFO, "Command message by $nick handled.");
return;
} else if ($this->is_autoreply($notice_text)) {
} else if ($this->isAutoreply($notice_text)) {
common_log(LOG_INFO, 'Ignoring auto reply from ' . $nick);
return;
} else if ($this->is_otr($notice_text)) {