]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Remove (redundant and O(n)) error checking on +L, we catch the errors on join nowdays...
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 24 Oct 2008 14:56:43 +0000 (14:56 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 24 Oct 2008 14:56:43 +0000 (14:56 +0000)
commit7e7cdc4f2f04225369dd4a2bf092cc9a03245c49
tree80388a8d874672615f665a7dd8ff2235a9ae491f
parent3b4c56a69e10223434c6502e60139355b49fbd5e
Remove (redundant and O(n)) error checking on +L, we catch the errors on join nowdays anyway, so this was a throwback to the "old days".
Also, add two new restrictions on +L: target channel must exist, and setter *must* be opped on target channel.
Avoids redirect spamming and other nefarious things.
Additionally, reworded numerics a bit to make it more generic, as we may forward for more than just +l in the future.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10699 e03df62e-2008-0410-955e-edbf42e46eb7
src/modules/m_redirect.cpp