diff options
author | Sketch <denverfreeburn@outlook.com> | 2016-04-20 15:41:23 +0100 |
---|---|---|
committer | Sketch <denverfreeburn@outlook.com> | 2016-04-20 15:41:23 +0100 |
commit | 1d198da4369a7eb7efa7775cc97041d2a870a86a (patch) | |
tree | 4192278329f8a578cd53e4ef3f14231e75a546e7 | |
parent | 8b6e17fe7e706ce87e700a4962d450d9cdeac85f (diff) |
Add the notice method to XMLRPC.
-rw-r--r-- | docs/XMLRPC/xmlrpc.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/XMLRPC/xmlrpc.php b/docs/XMLRPC/xmlrpc.php index c8cc50008..e57a2f145 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. |