1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 08:56:39 +02:00

Added m_xmlrpc and m_xmlrpc main, which allows remote programs to execute

remote RPC calls to Anope in realtime and receive responses
This commit is contained in:
Adam
2010-11-06 11:19:09 -04:00
parent 5cd4fefb4c
commit 8fbe36635c
10 changed files with 683 additions and 27 deletions
+2 -2
View File
@@ -304,7 +304,7 @@ time_t dotime(const Anope::string &s)
* @param seconds time in seconds
* @return buffer
*/
Anope::string duration(const NickCore *nc, time_t seconds)
Anope::string duration(NickCore *nc, time_t seconds)
{
/* We first calculate everything */
int days = seconds / 86400;
@@ -365,7 +365,7 @@ Anope::string do_strftime(const time_t &t)
* @param seconds time in seconds
* @return buffer
*/
Anope::string expire_left(const NickCore *nc, time_t expires)
Anope::string expire_left(NickCore *nc, time_t expires)
{
if (!expires)
return GetString(nc, NO_EXPIRE);