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_motd.c
diff --git
a/ircd/m_motd.c
b/ircd/m_motd.c
index f75cadfbb8b7730489e09520682fe637c420bb9e..f431df1e5a906a5a0f8db635c7df343ac7cab7d6 100644
(file)
--- a/
ircd/m_motd.c
+++ b/
ircd/m_motd.c
@@
-81,16
+81,10
@@
*/
#include "config.h"
*/
#include "config.h"
-#if 0
-/*
- * No need to include handlers.h here the signatures must match
- * and we don't need to force a rebuild of all the handlers everytime
- * we add a new one to the list. --Bleep
- */
-#include "handlers.h"
-#endif /* 0 */
#include "client.h"
#include "ircd.h"
#include "client.h"
#include "ircd.h"
+#include "ircd_features.h"
+#include "ircd_log.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "match.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "match.h"
@@
-104,7
+98,7
@@
#include "send.h"
#include <stdlib.h>
#include "send.h"
#include <stdlib.h>
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
/*
* m_motd - generic message handler
/*
* m_motd - generic message handler
@@
-122,8
+116,8
@@
*/
int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
*/
int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
- if (hunt_server_cmd(sptr, CMD_MOTD, cptr,
0, "%C", 1, parc, parv) !=
- HUNTED_ISME)
+ if (hunt_server_cmd(sptr, CMD_MOTD, cptr,
feature_int(FEAT_HIS_REMOTE), "%C", 1,
+
parc, parv) !=
HUNTED_ISME)
return 0;
return motd_send(sptr);
return 0;
return motd_send(sptr);