Skip to content

Commit

Permalink
Disable flood check
Browse files Browse the repository at this point in the history
  • Loading branch information
vasyahuyasa committed Jan 15, 2018
1 parent d5d1c48 commit ca5aba8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mod/remod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,11 @@ size_t old_encodeutf8(uchar *dstbuf, size_t dstlen, const uchar *srcbuf, size_t
#define FLOODMUTE 10000
#define FLOODTRIGGERTIME 10000
bool checkflood(clientinfo *ci, int type)
{
{
// remod TODO: fix this function
// server muted after 21 day of uptime
return false;

bool isflood = false;
size_t floodmsg = floodtype(type);
floodstate &fs = ci->state.ext.flood[floodmsg];
Expand Down

0 comments on commit ca5aba8

Please sign in to comment.