Adam
8000ae0c0f
#1677 apply sqlines even if the ircd doesn't on non opers
2016-07-03 12:36:34 -04:00
Robby
f118960a25
Update copyright to 2016. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
Fixed some whitespace and blank lines along the way.
2016-01-28 20:24:49 +01:00
Adam
d8eb3d4937
Apply regex sqlines on connect too
2016-01-23 08:58:08 -05:00
Adam
92920f5a1c
Only matches sqlines against channels if they begin with a #
2015-03-11 14:49:03 -04:00
Adam
866f3f32ab
Speed up akill xline checks
...
Cache xline nick, user, host, etc instead of rebuilding it everytime its
requested. Store users ip in sockaddr form and not string form to
prevent having to rebuild sockaddrs when checking xlines.
Also do not try to convert empty config values in Config::Get as this
can be rather common if a non string configuration value is not set, and
the cost of the ConvertException is great.
2014-05-20 21:16:00 -04:00
Adam
a29b7897f0
Use the SQLine reason in the kick reason for sqlined channels
2014-01-26 01:14:28 -05:00
Adam
595dad4ec1
Update copyright to 2014. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2014-01-01 20:48:38 -05:00
Adam
5f7127dd92
Don't send regex qlines and nlines to the IRCd
2013-09-27 19:11:01 -04:00
Adam
1107b92699
Drop matching channels on forbid, and enforce nick forbids even on IRCds
...
with no qlines
2013-09-27 18:02:26 -04:00
Adam
3b0b1bc80e
Don't send SQLines unless the IRCd supports it
2013-09-27 18:02:26 -04:00
Adam
339f41aebc
Fix allowing duplicate entries on the snline list
...
Have proto mods recognize cidr ranges as zlineable IPs
Remove operserv/global from global.conf because its dumb
Fix example config ~botserv/set example to work as expected
2013-09-08 21:53:06 -04:00
Adam
55e4ef9d3a
Fix logging /os set list. Enforce snlines on ircds that can't have snlines set by just killing the user. Fix double call to OnMatch() when a user matches an xline
2013-09-08 06:02:35 -04:00
Adam
1e625b6837
Use MessageSource as the source for many IRCDProto funcs
...
Keep track of what user modes are oper only/server only/etc
2013-08-01 13:39:35 +00:00
Adam
b56e71ab14
Move CheckKick event to Channel and make os_forbid use it instead of kicking users in the join event, which does bad things
2013-06-01 14:55:45 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -04:00
Adam
22658d63bd
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
2013-05-26 17:13:11 -04:00
Adam
912103ec13
Allow using sxlines on ircds that do not support them, since we always enforce them anyway
2013-05-08 11:31:20 -04:00
Adam
9b07e163c0
Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper way to test for a valid IP
2013-05-08 09:50:43 -04:00
Adam
5b3f81ea78
That doesn't work either, just don't use references.
...
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05 21:05:43 -04:00
Adam
1d0bb9b26b
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
2013-05-05 01:55:04 -04:00
Adam
207c46c871
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
2013-04-10 22:26:40 -05:00
Adam
fb7fef7a84
Optimizations of much of the more commonly used code
2013-04-07 23:46:44 -05:00
Robby-
15b37c1e38
Some more typo and help text fixes, proper formatting of control codes, missing privileges, and settings corrections.
2013-02-02 07:30:53 +01:00
Adam
ddaa001daf
Merge usefulness of Flags and Extensible classes into Extensible, made most flags we have juse strings instead of defines/enums
2013-01-21 22:31:16 -05:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
098157dca8
Don't delete users immediately when quit or killed, instead wait until message processing is done
2013-01-03 12:34:01 -05:00
Adam
784683a68d
Having these references to bots bugged out older compilers, so simplify this by just moving pointers to the core
2012-12-19 08:48:23 -05:00
Adam
0210cf2b17
Make the actual clients into services too
2012-11-24 21:22:32 -05:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
Adam
3af786d4c9
Fix fantasy !help & give it its own help header, not ChanServ's
2012-10-08 20:58:47 -04:00
Adam
89428a9d10
Cleanup of all of the protocol modules, rewrote message handling system to be a bit more C++ ish
2012-10-01 01:56:57 -04:00
Adam
573e49a7ea
Reworked live SQL support yet again
2012-04-23 05:08:26 -04:00
Adam
2bc3bd3fcf
Do not send kills after sending XLines because it causes us to internally remove the user and then recieve a quit from the user (who is now nonexistant) once the IRCd processes the XLine
2012-02-25 00:06:02 -05:00
Adam
3850b073dd
Added regex support for many commands, such as akill, sqline, snline,
...
all of the */list commands, etc.
Also extended the ability of akill to match a full nick!user@host and
real name of users.
2012-02-22 18:12:02 -05:00
Adam
ee5cd8493e
Use C++11's explicit override feature if available
2012-02-18 15:04:26 -05:00
Adam
a9772cde21
Clean up and reorganize our header files
2012-02-14 15:13:27 -05:00
Adam
1bc8e2ab82
Removed operserv:notifications in favor of log blocks, as well as some other notifiications
2012-02-08 18:00:24 -05:00
Adam
089c85b27e
Fixed WallBadOS
2012-02-04 17:28:38 -05:00
Adam
4204ece7a8
Updated Copyright to 2012
2012-01-02 21:28:24 -05:00
Adam
b5ff856f47
Windows
2011-11-08 17:29:16 -05:00
Adam
c8b3809fc9
Added akill ids
2011-10-22 11:21:21 -04:00
Adam
1f2399de36
Added a new database format and sqlite support. Also moved db-convert to a module.
2011-09-25 04:19:15 -04:00
Adam
1184eb59c5
Allow OnPreHelp to stop processing
2011-09-19 13:12:52 -04:00
Adam
f025d1b495
Made service_reference type safe
2011-09-10 01:58:38 -04:00
Adam
8a9a39c065
Renamed the core pseudoclient modules to match their names
2011-09-10 01:52:59 -04:00