diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-08-31 00:20:05 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-09-03 17:50:29 -0400 |
commit | d68914e4f3a5844c19396a94e3ae41895a36e9a2 (patch) | |
tree | a6ee6de22591ae847d88869851940d6e5dcdb75f /lib/implugin.php | |
parent | cce92e394b228087ce9aeab24ab857bb617ba3fb (diff) |
is_autoreply -> isAutoreply
Diffstat (limited to 'lib/implugin.php')
-rw-r--r-- | lib/implugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/implugin.php b/lib/implugin.php index 9fad46c41..f08fef6cd 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -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)) { |