diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-30 16:50:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-30 16:50:08 +0000 |
commit | 569114e4c2f8ef8b14d48d4a94d7226e7f87eaff (patch) | |
tree | 314b4f7b90af7297d99568aee3509f5b5eeca73e /include/configreader.h | |
parent | 395666b7e9dbeffe9c2e570ee08529d613ece93b (diff) |
Fix one issue, add another feature: When sending MODE +beI, weed out duplicates with simple O(1) check so that users dont send MODE #chan +bbbbbbbbbbbb.
Allow configuration of which listmodes you want to deny to below halfops. For example <options hidemodes="eI">. This is because blocking +b can break mirc, blocking +eI usually wont break it so
severely.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6852 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r-- | include/configreader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h index 838814cc4..c4275ab5f 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -353,7 +353,7 @@ class ServerConfig : public Extensible * MODE #chan b) are hidden from unprivileged * users. */ - bool HideModeLists; + bool HideModeLists[256]; /** The number of seconds the DNS subsystem * will wait before timing out any request. |