modules: chase MsgBuf API change
This commit is contained in:
parent
760bafdac3
commit
428ca87b01
78 changed files with 332 additions and 330 deletions
|
@ -36,7 +36,7 @@
|
|||
#include "modules.h"
|
||||
#include "packet.h"
|
||||
|
||||
static int m_time(struct Client *, struct Client *, int, const char **);
|
||||
static int m_time(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static char *date(void);
|
||||
|
||||
struct Message time_msgtab = {
|
||||
|
@ -63,7 +63,7 @@ static const char *weekdays[] = {
|
|||
* parv[1] = servername
|
||||
*/
|
||||
static int
|
||||
m_time(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||
m_time(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||
{
|
||||
/* this is not rate limited, so end the grace period */
|
||||
if(MyClient(source_p) && !IsFloodDone(source_p))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue