Adam
a62d824cb4
Made MemoServ optional
2010-10-02 00:07:39 -04:00
Adam
e3afb119b9
Fixed pipe and win32 socketengine builds
2010-10-01 21:45:46 -04:00
Adam
d44f7971b1
Rewrote some of the socket code to allow m_ssl to be a service.
...
This allows modules (xmlrpc) to create and accept SSL connections.
Also fixed unloading m_mysql at certain times and made the threading
engine always work correctly on Windows.
2010-10-01 21:01:49 -04:00
Adam
70056dd468
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2010-10-01 20:25:55 -04:00
Adam
5d9df2bdc1
Revert "Do not use new/delete to allocate modules, allows modules to always destruct properly and automatically"
...
This does not work as expected, it causes objects allocated by modules to be freed by the operating system when
the module is unloaded, giving no chance to the module to deallocate it itself.
This reverts commit 05e6815d91 .
2010-10-01 20:24:25 -04:00
Adam
9d2ef3f130
Allow OnPreConnect to kill users correctly and made session/xline exempt users not bypass the OnConnect event
2010-09-29 14:02:17 -04:00
Adam
6ca09be663
Cleaned up some unused code, moved handling of user modes around so we dont get log messages about user modes when users connect, and fixed tracking some umodes on Unreal
2010-09-27 17:02:36 -04:00
Naram Qashat
7db5e19f74
Partial fix for finding gettext with CMake, still doesn't fix the lack of finding non-standard paths though.
2010-09-26 15:35:24 -04:00
Adam
f3840ed110
Added a short docs/LANGUAGES file explaining how to add translations for the core and modules, updated TODO, and fixed a few small bugs
2010-09-26 15:09:39 -04:00
Adam
d646d455e2
Changed the language system to use gettext
2010-09-26 02:33:01 -04:00
Adam
05e6815d91
Do not use new/delete to allocate modules, allows modules to always destruct properly and automatically
2010-09-22 14:56:43 -04:00
Adam
3459206980
Fixed some problems with cycling logfiles
2010-09-21 01:20:28 -04:00
Adam
6f707920ff
Fixed log messages from when a user quits or gets killed
2010-09-19 17:41:50 -04:00
Adam
22f2b25f97
Fixed joining chanserv enforcers to unregistered channels
2010-09-19 12:42:08 -04:00
Adam
ebd2997b79
DNSSocket doesn't need to save the server addr anymore
2010-09-18 17:27:58 -04:00
lethality
06faf6affc
Fixed bug #1191
2010-09-18 03:36:44 +01:00
lethality
5ec605e424
Fixed some minor punctuation and logging
2010-09-18 03:35:33 +01:00
Adam
227909e2cf
Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
2010-09-17 19:20:07 -04:00
Adam
f71fb6e813
Connect using nonblocking sockets
2010-09-17 17:22:14 -04:00
Adam
74566d869a
Fixed bug #1190 and prevent m_dnsbl from akilling a user multiple times if they are in multiple blacklists
2010-09-17 14:32:46 -04:00
Adam
61e7564633
Fixed connecting back to the nameserver if we lose connection, and detecting the nameserver
2010-09-16 22:21:55 -04:00
Adam
86c1dab286
Fixed many bugs and crashes
2010-09-16 21:16:20 -04:00
Adam
cd1e9f3181
Fixed Anope::CurTime to really work, and made ChanServ timers allow using the channels botserv bot instead of only ChanServ
2010-09-16 18:12:12 -04:00
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
e30370af10
Allow identifying to other accounts using /nickserv id account pass
2010-09-11 22:47:36 -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
d70f1a43bc
Removed a duplicate log message when a user changes nick
2010-08-28 23:17:52 -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
56045afda2
Removed some problematic IsRecognized checks in ms_cancel and ms_check, and fixed a variable name in logger.cpp to make clang happy
2010-08-27 21:30:16 -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
ea9b945830
Internally ULine our server, and fixed a user count check for botserv when setting -P on channels
2010-08-24 21:34:08 -04:00
Adam
2803190255
Made Config ask what version of Visual Studio you are using so cmake can generate the correct files
2010-08-22 12:56:31 -04:00
Adam
f20512c849
Use pipe() instead of pipe2() - some systems dont have pipe2()
2010-08-22 12:23:43 -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
Naram Qashat
88d3338fdd
Better check for eventfd.
2010-08-21 18:52:12 -04:00
Adam
6608f16b7d
Removed Config.bat and install.js and replaced it with a small C# program that tends to fail less.
2010-08-21 03:47:01 -04:00