mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
Added which word is blocked to the numeric
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3285 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
2579f3aefb
commit
cb5bcb431d
@ -93,7 +93,7 @@ class ModuleChanFilter : public Module
|
||||
{
|
||||
if (line.find(*i) != std::string::npos)
|
||||
{
|
||||
WriteServ(user->fd,"936 %s %s :Your message contained a censored word, and was blocked",user->nick, chan->name);
|
||||
WriteServ(user->fd,"936 %s %s %s :Your message contained a censored word, and was blocked",user->nick, chan->name, i->c_str());
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user