Adam
f5d20579ee
Fixed /ms sendall syntax error message
2010-11-05 03:34:44 -04:00
Adam
cbd0f52eff
Made Base not virtual, prevents us from having to dynamic cast in the mode stacker on release builds
2010-11-04 00:36:53 -04:00
Adam
fb9f41b3e5
Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.
...
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext.
Fixed m_mysql and m_ssl to work under Windows, made the Windows Config
program remember the last used options, and fixed Windows release builds.
2010-10-30 19:41:13 -04:00
Adam
a26f119bc8
Do not store memo number in memo structs, fixes some bugs with deleting memos
2010-10-27 22:29:34 -04:00
Adam
a79da4bba1
Modules to not need to include libintl.h because they are not linked to libintl and do not directly call its code. #define _(x) to x just so xgettext is able to pick out language strings.
2010-10-26 22:02:08 -04:00
Adam
09160d1289
Fixed Windows build with gettext
2010-10-26 20:14:39 -04:00
Adam
eb8f3a799c
Fixed some Windows problems
2010-10-22 04:20:34 -04:00
Adam
791c2b89a5
Changed the log:normal config directive to a list like the other log values, and fixed a potential crash from rehashing while sending mail
2010-10-21 23:20:48 -04:00
Adam
d24e810262
Fixed mlock, broken since revision cf98cd3e06
2010-10-13 15:09:19 -04:00
Adam
d7aa5f6a3a
Fixed Windows build
2010-10-11 18:47:54 -04:00
Adam
717c123441
Fixed some warnings
2010-10-11 15:37:39 -04:00
Adam
0ac77d0e42
Fixed a crash in the dns engine if we receive a reply after a request has timedout
2010-10-09 20:02:19 -04:00
Adam
7f4362138a
Made nickserv:nogroupchange work
2010-10-06 21:47:01 -04:00
Adam
4da258ff78
Added lang/unused.sh, used to find unused language strings. Also removed a lot of unused language strings.
2010-10-06 20:36:08 -04:00
Adam
9ab50eedf2
Fixed restarting Anope when it is started from outside of the services binary dir
2010-10-05 19:46:33 -04:00
Adam
10833f9d3f
Made anoperc stop/restart send the cycleonglobal, and fixed logfiles to be opened with append not truncate
2010-10-04 21:46:15 -04:00
Adam
ab5ebc2245
Automatically destruct messages when modules are unloaded
2010-10-04 16:38:25 -04:00
Adam
cf98cd3e06
Changed the protocol handling system to use a vector of strings instead of C style arrays. Burned the old process/split_buf/memory.c code
2010-10-04 13:59:30 -04:00
Adam
632f8df76b
Fixed checking the global block in the config to work ok, fixed having non-core service bots logging messages, fixed setting the topic to the topic setter on inspircd12/20, and fixed logging status mode changes on ts6 ircds
2010-10-03 15:59:19 -04:00
Adam
90f0a7c92a
Added os_modreload. Also allow unloading database and encryption modules since there isn't a reason we cant allow reloading them. Soon os_modreload will allow reloading the protocol modules.
2010-10-02 21:09:11 -04:00
Adam
b0070bbd3b
Made ChanServ optional
2010-10-02 15:23:55 -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
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
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
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
ebd2997b79
DNSSocket doesn't need to save the server addr anymore
2010-09-18 17:27:58 -04: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
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
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