1
0
mirror of https://github.com/anope/anope.git synced 2026-06-24 14:26:38 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
cyberbotx f7088139a0 Fix bug 993, Anope was crashing on /os reload, no longer crashes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1920 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-12 18:25:28 +00:00
cyberbotx ad7b5bdd30 A few GCC 3.4.x and MSVC++ warning fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:17:52 +00:00
cyberbotx c5b9eaeda0 Various fixes for compiling under Windows.
Also updated ms_* modules to use std::vector Memo struct from earlier commit.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26 01:41:39 +00:00
cyberbotx 1a2fdff0c6 Added ConfigReader class from InspIRCd to be used in modules to read config files using the new config parser.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1755 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 23:58:33 +00:00
cyberbotx a5eb22efd8 Added userkey[123] directives to options block in new config.
Added ValueContainerLUInt specialization of ValueContainer for the above directives.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1701 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:23 +00:00
Naram Qashat cyberbotx@cyberbotx.com 729ae0b417 Modified the Set() function in the character array version of ValueContainer to delete the old memory if the value is being reused, and to not allocate memory if there is no string to store.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1464 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-23 02:24:34 +00:00
Naram Qashat cyberbotx@cyberbotx.com 4e11583205 Fix problems with using ValueContainerChar by creating a specialized template for ValueContainer.
Note: The solution uses new to allocate memory for the variable, we'll have to look into deleting the memory at shutdown, or replacing the char * variables with std::string.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1424 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 03:01:18 +00:00
Naram Qashat cyberbotx@cyberbotx.com 790fc4f0bd Correct use of ValueContainerChar to work properly instead of crashing at run-time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1422 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 02:49:40 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6b7161fbdf Started framework for new config reader, based on hottpd by w00t, copied over from my own fork that was in progress.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1409 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 22:06:58 +00:00