summaryrefslogtreecommitdiff
path: root/src/modules/m_banredirect.cpp
AgeCommit message (Collapse)Author
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-08Migrate u_listmode.h into the core, change +b to use itattilamolnar
2013-04-01Purge references to the deprecated GetStackedLine method.Peter Powell
2013-04-01Change channel name parameter of Module::OnUserPreJoin() and ↵attilamolnar
Channel::JoinUser() to std::string from char*
2013-01-02m_banredirect Deny the join to the redirect channel if it has a redirecting ↵attilamolnar
ban set that matches the user Fixes #395 reported by @patatje368
2013-01-02m_banredirect Remove unnecessary hooks, cleanupattilamolnar
- Remove prioritization before m_banexception, it doesn't even hook OnUserPreJoin - Remove OnChannelDelete handler: nothing to do in that case, our extension item is automatically freed - Remove empty OnRehash handler
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-02-14Don't check for existance and such when removing bansdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12455 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-21Allow redirect bans to be unset by any op/halfop (bug #936)danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12311 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17Move initialization that throws configuration exceptions to init()danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12279 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-21Delete modewatchers when unloading modules that use them to keep the server ↵dz
from crashing when the mode is used again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12168 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-21Don't tell the user they are banned and then still let them join if they ↵dz
have a redirect ban set. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12165 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-21allow channels starting with ## in m_banredirect.cpp, fixes bug #921 ↵dz
reported by Sm0ke0ut git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12164 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Make classbase and refcountbase uncopyable; expand comments on their ↵danieldg
indended uses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Remove dummy API_VERSION from Version constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-14Move static map of extensions into ServerInstance, add const-correctnessdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08Update Event and Request APIsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05Run DelMode and DelModeWatcher in RemoveModuledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22Describe module purpose in /MODULES outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Membership* changesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Change Extensible to use strongly typed entriesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02ModResult conversion: Change return type of all module functionsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Remove "servermode" parameter, replace with IS_FAKE() which is more reliabledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add Module* creator to Command and ModeHandlerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Change allocation of commands/modesdanieldg
API change: Commands passed to AddCommand are no longer deleted automatically This removes lots of needless heap allocation and fixes a few memory leaks by allocating commands and modes as part of the Module rather than creating them separately in the module constructor. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24OnRehash changes: split to multiple hooks to clarify use and prevent ↵danieldg
explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03Copypastafail.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11358 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03Some general tidyup in here (also some possible desync fixes, check ↵w00t
IS_LOCAL..), also check that the target channel exists and sender is opped before allowing +b redirects from a remote sender. Fixes bug #851, reported by SnoFox. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11357 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-20Actually use irc::modestacker correctlydanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-06Weed out a few leftover server instances from before modules had ↵peavey
ServerInstance. Patch by Ankit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11287 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Add VF_COMMON to all modules that provide an extbandanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11153 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Remove VF_COMMON from m_banredirect, it only adds an extbandanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11152 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-16Remove redundant PriorityState, enum Priority does the exact same thing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-13Also use freenode's 470 numeric in m_banredirect.psychon
(P.S.: This also fixes a bug from the last commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10884 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Depends on: ../../include/u_listmode.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10415 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Match conversion stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Fix banredirect modifying extban masks, patch based on one provided by ↵w00t
jackmcbarn, except with length checking to avoid explosions on certain STL implementations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10093 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20Remove custom members for +lk storagew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10053 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11fixed some indentation and spacing in modulespippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25Compile fixes, was forced to move some stuff aroundbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9804 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25First phase of conversion to dynamic limits on all the lengths, configured ↵brain
via the <limits> tag (the tag isnt there yet, these all just run on defaults in the class constructor) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Convert channel::name to std::string, this was a beastie!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Fix thesebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9752 e03df62e-2008-0410-955e-edbf42e46eb7