X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_burst.c;h=ceb8c9bbe3844771b04030042a2dfaf8cc02ec96;hb=80881d85337d93d70b67a505ae5178199b1b3155;hp=f966ca8b4d9253d767398a2ffbded1de903fc533;hpb=21adc78c56f940806a7902356f21fa52e54a76ff;p=ircu2.10.12-pk.git diff --git a/ircd/m_burst.c b/ircd/m_burst.c index f966ca8..ceb8c9b 100644 --- a/ircd/m_burst.c +++ b/ircd/m_burst.c @@ -151,7 +151,7 @@ int ms_burst(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) char modestr[IRC_BUFSIZE], nickstr[IRC_BUFSIZE], banstr[IRC_BUFSIZE]; if (parc < 4) - return 0; + return protocol_violation(sptr,"Too few parameters for BURST"); if (!IsBurst(sptr)) /* don't allow BURST outside of burst */ return exit_client_msg(cptr, cptr, &me, "HACK: BURST message outside "