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
eb8f3a799c
Fixed some Windows problems
2010-10-22 04:20:34 -04:00
Adam
717c123441
Fixed some warnings
2010-10-11 15:37:39 -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
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
b0070bbd3b
Made ChanServ optional
2010-10-02 15:23:55 -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
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
Adam
d646d455e2
Changed the language system to use gettext
2010-09-26 02:33:01 -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
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
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
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
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
c2ddecc2b1
Added a new logging system
2010-08-27 20:56:28 -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
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
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
Naram Qashat
d59c1b95e1
Cleanup in main.cpp.
2010-08-01 13:42:35 -04:00
Naram Qashat
1175ef320e
Cleanup in memoserv.cpp.
2010-08-01 12:21:17 -04:00
Naram Qashat
602d2378f5
Cleanup in misc.cpp.
2010-07-30 21:47:28 -04:00
Naram Qashat
527304ed2c
Some code cleanup and constification in nickserv.cpp.
2010-07-30 08:09:07 -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
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
66c0e280ee
A few more random annoyances cleaned up.
2010-07-27 20:03:10 -04:00
Naram Qashat
92edce8ef9
Cleaned up some code in src/users.cpp that kinda annoyed me.
2010-07-27 18:28:16 -04:00
Naram Qashat
57bb759305
Trying to make things a little more const-safe, a work in progress but this is a bit better.
2010-07-26 23:32:03 -04:00
Naram Qashat
ae38212c1c
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-07-25 21:58:20 -04:00
Adam
1cf4ebb231
Added an epoll socket engine
2010-07-08 22:19:13 -04:00
Adam
f71d5b4d3a
Removed OnEncryptInPlace, although it currently causes no problems it is just redundant.
2010-07-05 16:14:17 -04:00
Adam
57caa0b53f
Made Anope track its own clients internally as if they were real users
2010-06-27 02:41:48 -04:00
Adam
d49aee6cf8
Made the flags class take an optional size arg
2010-06-26 22:50:02 -04:00
Adam
03fbc7d281
Changed the versioning system to use git
2010-06-25 20:00:21 -04:00
Naram Qashat
381c9c8870
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
2010-06-20 18:42:58 -04:00
Adam
b8f9116b19
Rewrote all of the command handling to get rid of all the nasty strtoks() everywhere, and added a bot map by uid
2010-06-18 21:04:08 -04:00
Adam
2fba686904
Burned slist, rewrote operservs XLine code
2010-06-18 21:04:05 -04:00
Adam
cab6fcc82d
Added a founder access level used to determin who is a channel founder. This is completely independant of the owner levels
2010-06-18 21:03:43 -04:00
Adam
17ab410400
Removed process_numlist and having to mark everything as "in use" and constantly checking it. Replaced with a better system.
2010-06-18 21:03:41 -04:00
Adam
2a22d9c2fd
Fixed cmake build, removed version_flags it is no longer need, removed old unneeded defs.h and split up pseudo.h
2010-06-18 21:02:12 -04:00
Adam
ee57f57193
Store modes in users and channels using the Flags class, cleaner
2010-06-18 21:01:55 -04:00
Adam
f049124905
Rewrote the hashing system to use std::tr1::unordered_map
2010-06-18 21:01:53 -04:00
Adam
81a45520a7
Added some global variables for the core pseudo clients, keeps us from having to call findbot() everywhere
2010-06-18 21:01:17 -04:00
Adam
4e1286ca10
Rewrote the mail system to use threading
2010-06-18 21:01:09 -04:00
Adam
9439cac6b1
Added m_ssl.cpp which allows Anope to use SSL when connecting to its uplink
2010-06-18 20:58:55 -04:00