summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2009-03-09Fix /cs set mlock to not use strtok, which wasn't working due to the change ↵cyberbotx
in the command API to not use strtok at all, indirectly found because of bug #1020 (which was for 1.9.0 where /cs set mlock functions properly). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2149 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09Fix bug #1025, the message for "no such entry" should show whatever was ↵cyberbotx
number passed in to the command, not -1 every time. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2148 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09Fix bug #1028, the *_getpass and *_sendpass modules will now refuse to load ↵cyberbotx
if the given encryption module is unable to do decryption. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2147 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-08Fix bug #1027, properly send a Globop on CS DROP, patch provided by Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2146 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-06Fix bug #1026, Anope shouldn't crash on /ns set greet now, was just a small ↵cyberbotx
but fatal typo. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2143 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-02Added a strip_string function to Anope.cmake, cleaned up other parts of ↵cyberbotx
Anope.cmake, added better find function for #include lines, added functionality for CMake to auto-detect includes in non-standard locations. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2139 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Oper restrictions on memoserv commands.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2138 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Missed converting this to opertypes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2137 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Remove CSRestrictGetPass, it is unneeded with the introduction of opertypes. ↵rburchell
[Adam] git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2136 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Patch from Adam, reducing duplication in cs_modes. Untested.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2135 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Add access checking to cs_* modules. Also change number of arguments for ↵rburchell
cs_modes commands. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2134 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21Also allow RECOVER/RELEASE, reported by Adam and Raff7.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2123 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21Allow NS GHOST from an unregistered sender, reported by Raff7.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2122 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21Fix cs_access not displaying syntax errors and having a signed vs unsigned ↵cyberbotx
bug, spotted by Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2121 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Fix a few warnings. Also move split_usermask into cs_akick, as this is the ↵rburchell
only place it is used. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2119 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Fix ns_update, thanks DP. Fix two compile errors.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2117 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Patch from DP, converting all match calls and removing old match method.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2111 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17Fix numerous errors in Win32 building under Visual Studio due to the many ↵cyberbotx
changes to trunk. Trunk now builds under Windows like it should. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17Hook events correctly in constructor.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2105 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Oops.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2104 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Move EVENT_RELOAD to OnReload.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2103 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Fix output of reason in os_chankill when AddAkiller is used, spotted by ↵cyberbotx
DukePyrolator, thanks! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2099 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Prevent potential overflows of time values.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2094 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Allow NS STATUS from unregistered users, thanks DP!rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2086 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Move botserv/administration "metacommand" to a priv. What was I smoking when ↵rburchell
I wrote this? git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2085 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Wild pointers do not a happy Anope make. Thanks DP :)rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2084 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Allow NS REGISTER to unregistered nicks, silly oversight. Thanks DP! :)rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2083 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Revert "Patch from DukePyrolator to replace all calls to match_wild() and ↵rburchell
match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c." This reverts commit fcab9857f55567f10eaecbd6b26ee96f0f549d65. This isn't a simple sed operation, the order of arguments changed, so this would break everything using it. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2081 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Patch from DukePyrolator to replace all calls to match_wild() and ↵cyberbotx
match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2080 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Removed notice_user() and replaced all calls with Used::SendMessage.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2078 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Remove User::na, use User::nc everywhere. Will probably break everything, ↵rburchell
but opens the door to decoupling NC from NA, and means commands can now be run without bothering about changinc nick :) More tweaking for na/nc usage. It compiles, but it's still a work in progress. Again, this compiles, but I *bet* there's no chance in hell it'll work. :) Slightly better. Set User::nc correctly. Fix crash with unregistered nicks in core and ns_access. Fix glist to work when you're not on that particular nick. Fix ns_set to not crash and burn horribly. Fix ns_set and ns_logout to not do bad things. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2076 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15HelpServ has been destroyed, +1000 points. Also fixed the argument order in ↵cyberbotx
the deprecated match_wild() function. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Switch to using u->nc, courtesy of Rob, this means admin privs won't ↵rburchell
mysteriously vanish on changing nick. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2072 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Merge master into svsopers.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2071 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Set required command string for botserv modules.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2070 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Set CFLAG_ALLOW_UNREGISTERED on commands which should be usable for ↵rburchell
unidentified users. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2066 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Add CFLAG_ALLOW_UNREGISTERED, commands without this flag will now not run ↵rburchell
for unregistered users. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2065 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15First stab at adding User::nc as requested!robbeh
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2055 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Replaced notice_lang with notice_help in all OnHelp() functions in modules. ↵cyberbotx
Also fixed a few smaller issues regarding the help in the modules. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2053 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14Audited all remaining os_* modules, excluding os_restart (it causes a ↵cyberbotx
SIGTRAP that needs to be narrowed down). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2050 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14Removed os_raw, it was never supported by the Anope team, and now it no ↵cyberbotx
longer exists. It is no more. (It might've been eaten by a Grue, I think.) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2047 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14applied patch from Adam to fix some potential screwupspimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2046 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14Audited os_session with help from Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2045 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14Audited os_global and os_modinfo, thanks to Adam for spotting and fixing these.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2044 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14Audited os_akill, os_set, os_sgline, os_sqline, os_staff, and os_szline.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2043 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13Fix bs_set help, thanks to DukePyrolator! :)rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2039 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13Audit ns_*.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2036 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13More fixes to bs_bot from Adam, plus an extra fix within DoAdd not covered ↵cyberbotx
in Adam's patch. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2032 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13Audited os_modload, os_modunload, os_shutdown, os_stats, and os_svsnick.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2031 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12Fix bs_bot to use the correct parameters, patch from Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2022 5417fbe8-f217-4b02-8779-1006273d7864