summaryrefslogtreecommitdiff
path: root/modules/m_kline.c
AgeCommit message (Collapse)Author
2014-03-01- white-space changes / style cleanupsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3080 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-21- Fixed improper use of the ID_or_name macro in several placesmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2889 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-15- Clean up all files in modules/ (fixed indentation, removed whitespaces/tabs)michael
- Fixed copyright years - Made module handlers int type for later use git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2821 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-14- m_dline.c, m_kline.c: fixed wrong copyright yearsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2819 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-14- Greatly speedup k-/g-line lookup. Instead of testing every single client ↵michael
against every single k-/g-line just check the just added ban against connected clients. - Renamed ban_them() to conf_try_ban() - conf_try_ban() removed exemption notices that are now redundant - hostmask.c:parse_netmask(): optimize for the ipv4 case git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2815 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-12- m_dline.c, m_kline.c: fixed indentation, style cleanups, reformattingmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2809 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-12- m_kline.c:mo_kline(). if a target server exists, use sendto_match_servs()michael
instead of sendto_server() git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2803 82007160-df01-0410-b94d-b575c5fd34c7
2013-07-03- UNRESV should be logged as wellmichael
- Improved logging. Fixed inconsistent use of get_oper_name() vs. source_p->name git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2339 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-19- Revert to -r1831michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1834 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-19- Made all numeric defines use the actual string instead of the numeric valuemichael
which allows to use gcc's printf format attribute - Remove current message locale implementation git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1832 82007160-df01-0410-b94d-b575c5fd34c7
2013-03-31- KLINE, DLINE, SQUIT and KILL now make use of CONF_NOREASON as wellmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1794 82007160-df01-0410-b94d-b575c5fd34c7
2013-03-31- Replaced all occurrences of ircsprintf with sprintf/snprintfmichael
and killed sprintf_irc.(c|h) git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1793 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-18- Cleanup unused header file includesmichael
- Fixed minor compile warning in conf.c git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1666 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-13- changed match() polarity. match() now returns 0 on match and 1 on non-matchmichael
This cleans up several places where function pointers of different matching functions like irccmp/strcmp/match are passed to other functions. - added improved collapse() to match.c git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1652 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-10- minor MaskItem structure cleanupmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1649 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-07- First pass of conf parser stabilization/cleanupmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1646 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-06- More config subsystem cleanupsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1644 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-04- Initial rewrite of the configuration subsystemmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1632 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-01- flesh out new *line database handlingmichael
- simplify temporary bans git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1628 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-01- dbs are now periodically flushed on disc every 5 minutesmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1625 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-01- klines, dlines, xlines, glines and resv now make use of the new database;michael
also, temporary *lines are now stored, so they're not lost after restarting the ircd. This also applies to G-lines. git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1622 82007160-df01-0410-b94d-b575c5fd34c7
2012-10-30- Made m_globops() and ms_globops() use sendto_realops_flags()michael
- Added message-type parameter to sendto_realops_flags() which can be one of SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS - Forward-port -r1617 git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1618 82007160-df01-0410-b94d-b575c5fd34c7
2012-10-27- Second time's the charm? Moving svnroot/ircd-hybrid-8 tomichael
svnroot/ircd-hybrid/trunk git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1592 82007160-df01-0410-b94d-b575c5fd34c7