extensions/roleplay: End floodgrace because this is sent to other users.

This commit is contained in:
Jilles Tjoelker 2012-04-14 01:07:43 +02:00
parent 77444dcc1f
commit 23485ebe3a

View file

@ -26,6 +26,7 @@
#include "chmode.h"
#include "tgchange.h"
#include "channel.h"
#include "packet.h"
static int m_scene(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
static int m_fsay(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
@ -139,6 +140,9 @@ m_displaymsg(struct Client *source_p, const char *channel, int underline, int ac
char *nick3 = rb_strdup(nick);
char text2[BUFSIZE];
if(!IsFloodDone(source_p))
flood_endgrace(source_p);
if((chptr = find_channel(channel)) == NULL)
{
sendto_one(source_p, form_str(ERR_NOSUCHCHANNEL), channel);