diff options
-rw-r--r-- | lib/implugin.php | 4 | ||||
-rw-r--r-- | plugins/Irc/IrcPlugin.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/implugin.php b/lib/implugin.php index 67b93047f..b1b918fea 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -463,7 +463,7 @@ abstract class ImPlugin extends Plugin common_log(LOG_INFO, 'Posting a notice from ' . $user->nickname); - $this->add_notice($from, $user, $notice_text); + $this->addNotice($from, $user, $notice_text); } $user->free(); @@ -481,7 +481,7 @@ abstract class ImPlugin extends Plugin * * @param boolean success */ - protected function add_notice($screenname, $user, $body) + protected function addNotice($screenname, $user, $body) { $body = trim(strip_tags($body)); $content_shortened = common_shorten_links($body); diff --git a/plugins/Irc/IrcPlugin.php b/plugins/Irc/IrcPlugin.php index 3e73c198c..b688e6140 100644 --- a/plugins/Irc/IrcPlugin.php +++ b/plugins/Irc/IrcPlugin.php @@ -252,7 +252,7 @@ class IrcPlugin extends ImPlugin { return; } else { common_log(LOG_INFO, 'Posting a notice from ' . $user->nickname); - $this->add_notice($nick, $user, $notice_text); + $this->addNotice($nick, $user, $notice_text); } $user->free(); |