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:
brain 2007-05-28 22:51:56 +00:00
parent 82a62fd8cb
commit 516655d85f

View File

@ -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;