diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-28 22:51:56 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-28 22:51:56 +0000 |
commit | 516655d85fbf3234052cf8c69748a735bb09543b (patch) | |
tree | 3dab55813110b411421a0af1861cab6150c51689 /src/modules | |
parent | 82a62fd8cb49481c5163a22f7659f1e91d98778a (diff) |
This works now! Still more to do though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7181 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_filter.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/modules/m_filter.h b/src/modules/m_filter.h index 9d0fff34b..6bf112107 100644 --- a/src/modules/m_filter.h +++ b/src/modules/m_filter.h @@ -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; |