Adam
8131851058
Rewrote all of the topic code, fixes a few topic related problems on some older IRCds
2010-09-15 16:40:55 -04:00
Adam
6239b5a053
Give DNS requests an error when their creator is being unloaded instead of just deleting them, and fixed a compile warning
2010-09-14 19:31:22 -04:00
Adam
e7ac33fd62
Cleanup DNS requests when modules are unloaded, fixes unloading m_dnsbl during the middle of queries
2010-09-14 18:24:14 -04:00
Adam
47872e53ed
Removed the --log command line option because its no longer necessary, and updated example.conf
2010-09-12 00:02:22 -04:00
Adam
f00e76d30a
Added Anope::CurTime to keep us from calling time() everywhere
2010-09-10 20:31:31 -04:00
Adam
9eb7562bee
Fixed bug #1187 - Fixed releasing enforcer clients on TS6 IRCds
2010-09-10 15:46:19 -04:00
Adam
46813ccb8c
Added an asynchronous DNS system and m_dnsbl, which checks clients against DNS blacklists.
...
Rewrote internal handling of IPs, we now properly support users using IPv6.
Fixed a few problems with the UnrealIRCd protocol module.
2010-09-09 23:43:11 -04:00
Adam
7a522d1c34
Only look up session exceptions if the user exceeds the session limit, really send akills for exceeding session limits, and fixed os akill del to really work
2010-09-01 21:01:52 -04:00
Adam
f276927365
Redo some of the sighandling code, and made anoperc rehash actually work.
2010-08-29 19:28:04 -04:00
Adam
4319319f97
Burst back our juped servers if we disconnect
2010-08-28 23:17:33 -04:00
Adam
e820e1af0d
Properly store our clients internal channel status's and burst them if needed.
...
Also made Flag::HasFlag use test() instead of operator[] to catch errors, and fixed an out of bounds access to a
Flags
bitset causing crashes on some systems.
2010-08-28 20:56:45 -04:00
Naram Qashat
4cc6604326
Changed Channel's BanData C-style linked list to std::list, got rid of shadowed variables in channels.cpp.
2010-08-28 11:00:02 -04:00
Adam
5fbe0c845c
Clean up some of the old now unused IRCDVar struct vars, and made the logchan bots join if the IRCd requires them to
2010-08-28 02:25:33 -04:00
Adam
10d901084f
Do not log RAWIO messages to services log channels, added a config option on whether or not to join bots to the log channels, and fixed two log messages in ns_identify
2010-08-28 00:14:06 -04:00
Adam
334e5a4ef9
Removed options:keeplogs because its no longer used
2010-08-27 23:05:22 -04:00
Adam
c2ddecc2b1
Added a new logging system
2010-08-27 20:56:28 -04:00
Adam
73fb94c553
Added an Anope::string::is_pos_number_only function to use everywhere we convertTo unsigned values, and
...
fixed the mail delay error message to give the correct time.
2010-08-27 13:44:30 -04:00
Adam
ada65a3baf
Added a classbase for the major classes, makes dynamic_reference invalidation really work.
...
This also cleans up a bit of the code in the modestacker.
2010-08-22 00:34:02 -04:00
Adam
8a4c6ae618
Updated .gitignore and removed the rest of the old autotools system
2010-08-21 19:39:54 -04:00
Adam
fb551f0d5d
Made Anope keep track of channels its clients are in if it splits from its uplink, then burst them back to its uplink once connection is reestablished.
...
Also made Anope use TS enforcement to change persistant channels creation time to the time they were registered.
2010-08-21 01:40:36 -04:00
Adam
931b0777fb
Changed the svid system back to using user timestamps for IRCds limited to just usermode +d. This allows us to keep people logged in once again when Anope is restarted.
2010-08-19 16:27:38 -04:00
Adam
b180d5f975
Always unload socketengines/database/protocl etc modules last, and fixed a potential crash in m_mysql when unloading when not in GDB
2010-08-17 22:19:36 -04:00
Adam
e65d8b2f3d
Rewrote the config reader to better handle invalid configs.
...
This prevents Anope from exploding when /os reload has errors.
2010-08-17 19:27:37 -04:00
Adam
a950ed8cab
Rewrote the MySQL API to use threads. This acts similar to before, but is faster. Removed db_mysql_execute for now.
2010-08-15 01:45:38 -04:00
Adam
d4c7f67b58
Readded in BotInfo::chancount, it never should have been removed in the first place
2010-08-13 18:45:50 -04:00
Naram Qashat
bbff5ae4d3
Add a db-upgrade to convert base64-encoded encrypted passwords to hexadecimal strings of the raw data, add in Anope::Hex for C-style strings and added Anope::Unhex, modified the encryption modules to use Hex and Unhex.
2010-08-08 21:53:32 -04:00
Naram Qashat
8703afe116
Add a delimiter argument to BuildStringList and BuildStringVector, and use it with str_is_ip and str_is_cidr to better fix the earlier crash bug found by Cronus.
2010-08-04 18:01:45 -04:00
DukePyrolator
503215f39c
changed the way how CTCP PINGs are processed, all services clients can now reply to CTCP PING and CTCP VERSION requests
2010-08-02 19:42:00 +02:00
lethality
94371e69a9
Added Italics support to the BotSev kickers
2010-08-02 03:35:12 +01:00
Adam
f887b37453
Set the correct bs default flags on new channels
2010-08-01 21:17:52 -04:00
Adam
90976b6672
Fixed some issues with reconnecting if we disconnect from the uplink
2010-08-01 20:05:52 -04:00
Naram Qashat
d59c1b95e1
Cleanup in main.cpp.
2010-08-01 13:42:35 -04:00
DukePyrolator
2f6c0e435c
some code cleanup in misc.cpp and fixed a small typo
2010-08-01 18:48:40 +02:00
Naram Qashat
084766069c
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-08-01 12:21:42 -04:00
Naram Qashat
1175ef320e
Cleanup in memoserv.cpp.
2010-08-01 12:21:17 -04:00
DukePyrolator
bfd94136c6
fixed enc_sha256
2010-08-01 09:56:34 +02:00
Adam
c770c47e18
Don't dynamically allocate commands in modules anymore, instead made them members of modules. This means the commands are automatically destructed when the module is unloaded. Cleans up some old ugly code.
2010-07-31 21:37:45 -04:00
Naram Qashat
602d2378f5
Cleanup in misc.cpp.
2010-07-30 21:47:28 -04:00
Adam
ef651b667e
Fixed a typo in hashcomp.h for detecting what version of VC is in use
2010-07-30 19:47:22 -04:00
Naram Qashat
7a7b8933bb
Cleanup in modulemanager.cpp, make it so CMake only includes the -fno-leading-underscore flag on a GNU compiler, changed the hash compare functions to use struct to appease clang, and made it so hashcomp.h uses tr1/unordered_map with g++ 4.x or up.
2010-07-30 19:24:41 -04:00
Naram Qashat
527304ed2c
Some code cleanup and constification in nickserv.cpp.
2010-07-30 08:09:07 -04:00
Adam
0cacbf30d2
Fixed hash_map code to build on VS 2008
2010-07-30 03:56:14 -04:00
Adam
8e6fe99181
Fixed some Windows issues with hashing and sockets. This currently limits building to VS 2010, will look at 2008 later
2010-07-30 01:11:19 -04:00
Naram Qashat
5ed69ed678
Used std::list for ignore's IgnoreData instead of using the old C-style double-linked list, also removed the addition of an ignore when a command "takes too long".
2010-07-29 23:34:39 -04:00
Adam
abfc9926db
Added support for tracking inspircd2.0 usermode +Q and cahnged the Flags bitsets for modes to not use a max defined value, it can go over
2010-07-29 23:08:47 -04:00
Adam
cc64903179
Rewrote the hashing systems to properly handle the new Anope::strings which we have everywhere.
2010-07-29 18:38:56 -04:00
Naram Qashat
04200cc838
Made all of IRCDProto use const pointers, with the exception of SendVhostDel because of the Unreal protocol module, it makes me sad.
2010-07-29 08:12:54 -04:00
Naram Qashat
971df4825c
Clean up send.cpp a bit to use Anope::string, as well as fix Anope::string's replace_all_* functions to actually work if the original and replacement strings are not the same length.
2010-07-28 08:16:33 -04:00
Naram Qashat
aa9610a56f
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-07-28 00:28:59 -04:00
Naram Qashat
4700c96268
Yet more annoying code cleanup, plus made Server's Links list into a normal variable and not a pointer.
2010-07-28 00:19:19 -04:00