summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-06 11:19:09 -0400
committerAdam <Adam@anope.org>2010-12-12 19:30:14 -0500
commit8fbe36635c8acae23d7c0879aaa347265b96408d (patch)
tree898ff9790d763e91ccb24c5fe28da5e575499d7b /src/misc.cpp
parent5cd4fefb4c3c9e9a723c2b6b2e52859c5c7bb49e (diff)
Added m_xmlrpc and m_xmlrpc main, which allows remote programs to execute
remote RPC calls to Anope in realtime and receive responses
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 9bb323b3d..3db15962b 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -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);