summaryrefslogtreecommitdiff
path: root/docs/XMLRPC/xmlrpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'docs/XMLRPC/xmlrpc.php')
-rw-r--r--docs/XMLRPC/xmlrpc.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/XMLRPC/xmlrpc.php b/docs/XMLRPC/xmlrpc.php
index 2b5645ca7..ba1290b03 100644
--- a/docs/XMLRPC/xmlrpc.php
+++ b/docs/XMLRPC/xmlrpc.php
@@ -113,6 +113,21 @@ class AnopeXMLRPC
{
return $this->run("channel", [$channel]);
}
+
+ /**
+ * Sent a notice to a user.
+ * Returns an array containing channel information, or an array of size one
+ * (just containing the name) if the channel does not exist
+ *
+ * @param $source
+ * @param $target
+ * @param $message
+ * @return array|null
+ */
+ public function notice($source, $target, $message)
+ {
+ return $this->run("notice", [$source, $target, $message]);
+ }
/**
* Like channel(), but different.