projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git]
/
ircd
/
m_time.c
diff --git
a/ircd/m_time.c
b/ircd/m_time.c
index 5d145c9e9006a4269b1074ca72927ec1f7c67674..ca8e83018c7763a71109c9f586897bdc8ffbf69f 100644
(file)
--- a/
ircd/m_time.c
+++ b/
ircd/m_time.c
@@
-83,7
+83,8
@@
#include "client.h"
#include "ircd.h"
#include "client.h"
#include "ircd.h"
-#include "ircd_policy.h"
+#include "ircd_features.h"
+#include "ircd_log.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
@@
-93,7
+94,7
@@
#include "s_user.h"
#include "send.h"
#include "s_user.h"
#include "send.h"
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
/*
* m_time - generic message handler
/*
* m_time - generic message handler
@@
-103,8
+104,9
@@
*/
int m_time(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
*/
int m_time(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
- if (hunt_server_cmd(sptr, CMD_TIME, cptr, HEAD_IN_SAND_REMOTE, ":%C", 1,
- parc, parv) != HUNTED_ISME)
+ if (hunt_server_cmd(sptr, CMD_TIME, cptr, feature_int(FEAT_HIS_REMOTE), ":%C",
+ 1, parc, parv)
+ != HUNTED_ISME)
return 0;
send_reply(sptr, RPL_TIME, cli_name(&me), TStime(), TSoffset, date((long)0));
return 0;
send_reply(sptr, RPL_TIME, cli_name(&me), TStime(), TSoffset, date((long)0));