X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_time.c;h=5d145c9e9006a4269b1074ca72927ec1f7c67674;hb=56f512008e81aeae915b2b7f6bcdd54b549188d3;hp=e64ed4c15ff2b3eabefa80fe7c8bfbdebcbed7cd;hpb=03c46045d7842ef91735201a7ec14f229bc47c12;p=ircu2.10.12-pk.git diff --git a/ircd/m_time.c b/ircd/m_time.c index e64ed4c..5d145c9 100644 --- a/ircd/m_time.c +++ b/ircd/m_time.c @@ -81,14 +81,6 @@ */ #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 "ircd_policy.h" @@ -118,20 +110,3 @@ int m_time(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) send_reply(sptr, RPL_TIME, cli_name(&me), TStime(), TSoffset, date((long)0)); return 0; } - -#if 0 -/* - * m_time - * - * parv[0] = sender prefix - * parv[1] = servername - */ -int m_time(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) -{ - if (hunt_server(0, cptr, sptr, "%s%s TIME :%s", 1, parc, parv) == HUNTED_ISME) /* XXX DEAD */ - sendto_one(sptr, rpl_str(RPL_TIME), me.name, /* XXX DEAD */ - parv[0], me.name, TStime(), TSoffset, date((long)0)); - return 0; -} -#endif /* 0 */ -