summaryrefslogtreecommitdiff
path: root/plugins/Irc/IrcPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Irc/IrcPlugin.php')
-rw-r--r--plugins/Irc/IrcPlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Irc/IrcPlugin.php b/plugins/Irc/IrcPlugin.php
index c555580c3..38c87f74d 100644
--- a/plugins/Irc/IrcPlugin.php
+++ b/plugins/Irc/IrcPlugin.php
@@ -189,7 +189,7 @@ class IrcPlugin extends ImPlugin {
* @param string $body Text to send
* @return boolean true on success
*/
- public function send_message($screenname, $body) {
+ public function sendMessage($screenname, $body) {
$lines = explode("\n", $body);
foreach ($lines as $line) {
$this->fake_irc->doPrivmsg($screenname, $line);
@@ -301,7 +301,7 @@ class IrcPlugin extends ImPlugin {
if ($this->regcheck && !$checked) {
return $this->checked_send_confirmation_code($screenname, $code, $user);
} else {
- return $this->send_message($screenname, $body);
+ return $this->sendMessage($screenname, $body);
}
}