From c54ef9b8b646c244a679527ff886ba3abfc92c61 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 31 Aug 2010 00:21:51 -0400 Subject: [PATCH] is_otr -> isOtr --- lib/implugin.php | 4 ++-- plugins/Irc/IrcPlugin.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/implugin.php b/lib/implugin.php index f08fef6cd6..f4504f5253 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -418,7 +418,7 @@ abstract class ImPlugin extends Plugin * @param string $txt message text * @return boolean true if OTR */ - protected function is_otr($txt) + protected function isOtr($txt) { if (preg_match('/^\?OTR/', $txt)) { return true; @@ -456,7 +456,7 @@ abstract class ImPlugin extends Plugin } else if ($this->isAutoreply($notice_text)) { common_log(LOG_INFO, 'Ignoring auto reply from ' . $from); return; - } else if ($this->is_otr($notice_text)) { + } else if ($this->isOtr($notice_text)) { common_log(LOG_INFO, 'Ignoring OTR from ' . $from); return; } else { diff --git a/plugins/Irc/IrcPlugin.php b/plugins/Irc/IrcPlugin.php index dc077eeabb..7a53e5cbf5 100644 --- a/plugins/Irc/IrcPlugin.php +++ b/plugins/Irc/IrcPlugin.php @@ -247,7 +247,7 @@ class IrcPlugin extends ImPlugin { } else if ($this->isAutoreply($notice_text)) { common_log(LOG_INFO, 'Ignoring auto reply from ' . $nick); return; - } else if ($this->is_otr($notice_text)) { + } else if ($this->isOtr($notice_text)) { common_log(LOG_INFO, 'Ignoring OTR from ' . $nick); return; } else { -- 2.39.5