rburchell
0dac2dbc49
Check noexpire/readonly in expire_all(), not the mainloop. Otherwise, expiry will happen on shutdown.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1935 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-26 20:07:28 +00:00
cyberbotx
422197c87b
Fix crash when loading HostServ database with a null vIdent, found by Ankit.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1934 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-24 14:35:43 +00:00
rburchell
7379abc04a
Trap empty idents from older Anope mysql UseRDB imports, and don't allow them to be set.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1933 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-24 14:03:46 +00:00
rburchell
619c513bee
Fix warning.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1932 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 09:46:03 +00:00
rburchell
1d1e21fce2
Fix stuff. Thanks Ankit.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1931 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 09:38:32 +00:00
rburchell
acde0c64ee
Correctly handle parameterised modes in FJOIN, fixes bug #987 .
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1930 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:38:45 +00:00
rburchell
ea0533be0f
Insp sends QUIT on KILL, so don't destroy the user record immediately. Fixes bug #995 (QUIT from nonexistant user), reported by Ankit.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1929 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:27:40 +00:00
rburchell
1f102694aa
Possible fix to bug #998 , reported by Ankit (bad password count is not correct).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1928 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:17:05 +00:00
rburchell
7439706b3b
Fix a signed vs unsigned warning (this also means Anope will correctly function on networks bigger than the positive size of signed int, but who's counting?)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1927 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:16:28 +00:00
cyberbotx
ea0ac23e43
Fix bug 1000, do not allow a nick to be grouped if the IRCd protocol deems the nick invalid.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1925 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-22 11:47:18 +00:00
cyberbotx
dd6c5a57e8
Fix bug 997, Anope no longer crashes if a kick is non on a non-existant user.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1922 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-15 02:22:43 +00:00
cyberbotx
c767dcac5f
Fix bug 992, cause was an unsigned value of 0 having 1 subtracted from it.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1921 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-13 02:13:39 +00:00
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
cf266b95c9
Small update to TODO for 1.9.0.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1919 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-11 02:24:44 +00:00
cyberbotx
ff62cb2eea
Fix crash bug in os_modload when a non-existant module is given, thanks to Ankit for spotting this.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1918 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-06 16:37:30 +00:00
cyberbotx
4dca000328
Really fix bug 985, had to fix security hole in User::SendMessage() as well.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1917 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-05 08:30:13 +00:00
cyberbotx
6e3a5ade35
Fix for bug 985, secure calls to SendMessage.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1916 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-05 08:15:24 +00:00
sjaz
73bd4f99ca
Housekeeping contact address updates.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03 17:06:39 +00:00
sjaz
8903e93474
Added quotes to Config.bat to fix windows error when initiated from spaced path (Input Error: There is no file extension in "C:\Documents".)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1911 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:45:24 +00:00
rburchell
0173105a11
This shouldn't have been changed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1910 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:20:56 +00:00
rburchell
fba6ec736d
Update copyrights for 2009.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:20:35 +00:00
cyberbotx
cd10010f50
Possible fix for a crash bug in the InspIRCd 1.1 module.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1894 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-31 07:24:45 +00:00
cyberbotx
c16600fee5
Removed check for HAVE_VA_LIST_AS_ARRAY, it broke MemoServ.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1893 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-31 02:05:50 +00:00
cyberbotx
23f4c6b439
Edited Config to create a build directory if the user tried to run Config directly from the source directory, to prevent in-source building but not complain to the user about it.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1892 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 22:10:32 +00:00
cyberbotx
8287325d4d
Fix install errors with Autotools build system.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1891 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 19:04:43 +00:00
cyberbotx
7974747cc2
Fix bug 977, topics should show the nick of the user instead of UID now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1888 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 03:40:46 +00:00
cyberbotx
7c2d66cbfc
Fix compile error in recent AKICK fix.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1887 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 00:56:41 +00:00
jantje_85
6ab2f3b010
Bug 983 :: Forwarding patch to dev branch. This Fixes akicklist not being reordered after a nickcore is dropped.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1886 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 23:35:22 +00:00
cyberbotx
7d9865150a
Edits to CPack-related part of CMake to not include Autotools-built files from a dirty source tree.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1884 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 22:04:53 +00:00
jantje_85
47fb48706c
Removing one free too much..
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1882 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 22:02:38 +00:00
cyberbotx
a66a6cdd79
Include edited vsvars32.bat that was referenced in WIN32.txt.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1881 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:47:32 +00:00
cyberbotx
7de39e3d4a
Removed anoperc.cmake and left anoperc.in to be used by Autotools and CMake.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1880 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:14:24 +00:00
cyberbotx
a022f27a07
Updated INSTALL and WIN32.txt docs to explain usage of CMake.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1879 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:08:21 +00:00
cyberbotx
110dbb673e
Final modifications to Autotools build system to work alongside CMake build system. CMake build system will only allow out-of-source building now. Removed all old NMake Makefiles for Windows to focus on use of CMake on Windows (it's not as important to require the old system on Windows like it is on *nix).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1878 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:08:13 +00:00
cyberbotx
bd2cb095aa
Modifications to the Autotools build system to try to make it work with the changes made from CMake, still untested (again, don't use this commit).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1877 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:07:55 +00:00
cyberbotx
d6bb55476c
Revived Autotools from the grave, although it'll need some tweaking to work alongside CMake now. (In other words, don't use this commit, I committed this so I don't have to re-add these files again if I screw something up.)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1876 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:07:38 +00:00
cyberbotx
0bb13ddf57
Really fix the reverting back to r1870.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1874 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 09:32:05 +00:00
cyberbotx
e0c10d684e
Reverting my last 2 commits in an attempt to fix my own screwball mistake.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1873 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 09:02:03 +00:00
cyberbotx
6a2c0a7785
Merge branch 'cmake'
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1872 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 06:57:35 +00:00
cyberbotx
432edbf68f
Merge branch 'cmake'
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1871 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 06:57:30 +00:00
rburchell
f5209be18a
Fix uninitialised variable usage leading to stray freeing of memory.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1870 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 02:50:30 +00:00
jantje_85
f88808b431
Forgot one in last commit.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1868 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27 12:11:33 +00:00
jantje_85
f30c8e19d5
Fixed crashbug in the banlist processing.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1867 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27 11:53:05 +00:00
cyberbotx
33b7492264
Better check for the backtrace function (actually look for the function, not the execinfo.h header)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1866 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26 20:02:25 +00:00
cyberbotx
967f42b4fc
Minor CMake cleanup, moving include directories and defines to use include_directories and add_definitions instead.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1865 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26 19:14:49 +00:00
cyberbotx
77893492da
Allow CMake to still check for the -pipe flag with CMake 2.4.3 or older, also small addition to install the MSVCRT library if needed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1864 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-25 07:37:16 +00:00
cyberbotx
5982fc4e68
Slight update to README to include myself and w00t (as per r1853 in 1_8_0 branch).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1863 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-24 03:56:34 +00:00
jantje_85
fe67916159
Fixed problem with unreal protocol module not storing usermode changes. Not the nicest patch, but should do the job.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1862 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23 23:27:37 +00:00
cyberbotx
e802b6dfe8
Some more Windows fixes, both in CMake and in the code itself. (I don't like the const casting for the latter, but it's only until we get rid of use of strchr)
...
Added CPack setup to automate generation of source package for *nix and NSIS installer for Windows.
Some other minor CMake fixes.
Converted docs/README and docs/WIN32.txt from Unix linefeeds to DOS linefeeds so they show up right in Notepad under Windows.
Added small fix for Visual Studio 2008, CMake doesn't detect the Express version correctly and it must be explicitly defined.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1861 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23 07:38:22 +00:00
cyberbotx
40ec6f0854
Some more CMake edits, this allows versions of CMake as early as 2.4.0 to work now.
...
Also fixed an issue with adding the dl library to the linker flags, reported by Obi_Wan, thanks!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1857 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-21 17:42:39 +00:00