mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
This works now! Still more to do though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7181 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
82a62fd8cb
commit
516655d85f
@ -15,11 +15,11 @@
|
||||
|
||||
enum FilterFlags
|
||||
{
|
||||
FLAG_NOOPERS,
|
||||
FLAG_PART,
|
||||
FLAG_QUIT,
|
||||
FLAG_PRIVMSG,
|
||||
FLAG_NOTICE
|
||||
FLAG_NOOPERS = 1,
|
||||
FLAG_PART = 2,
|
||||
FLAG_QUIT = 4,
|
||||
FLAG_PRIVMSG = 8,
|
||||
FLAG_NOTICE = 16
|
||||
};
|
||||
|
||||
class FilterResult : public classbase
|
||||
@ -43,8 +43,9 @@ class FilterResult : public classbase
|
||||
this->FillFlags(flags);
|
||||
}
|
||||
|
||||
int FillFlags(const std::string &flags)
|
||||
int FillFlags(const std::string &fl)
|
||||
{
|
||||
flags = fl;
|
||||
flag_no_opers = flag_part_message = flag_quit_message = flag_privmsg = flag_notice = false;
|
||||
size_t x = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user