git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 671b0f4c authored by Craig Andrews's avatar Craig Andrews

format_notice -> formatNotice

parent a70ccead
......@@ -88,7 +88,7 @@ abstract class ImPlugin extends Plugin
*/
function sendNotice($screenname, $notice)
{
return $this->sendMessage($screenname, $this->format_notice($notice));
return $this->sendMessage($screenname, $this->formatNotice($notice));
}
/**
......@@ -371,7 +371,7 @@ abstract class ImPlugin extends Plugin
* @return string plain-text version of the notice, with user nickname prefixed
*/
function format_notice($notice)
function formatNotice($notice)
{
$profile = $notice->getProfile();
return $profile->nickname . ': ' . $notice->content . ' [' . $notice->id . ']';
......
......@@ -318,7 +318,7 @@ class XmppPlugin extends ImPlugin
function sendNotice($screenname, $notice)
{
$msg = $this->format_notice($notice);
$msg = $this->formatNotice($notice);
$entry = $this->format_entry($notice);
$this->queuedConnection()->message($screenname, $msg, 'chat', null, $entry);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment