1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 21:16:39 +02:00
Commit Graph

1782 Commits

Author SHA1 Message Date
rburchell b9b70be010 Forward-port b00da8a8a5d15f3d96bb2da72c8be7a9caf6861e from 1.8: only set +si on forbidden or suspended channels.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1829 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 19:22:19 +00:00
rburchell 6e53f2c591 Forward-port f9f00043eda253ab2aa97fff029befa072074b2a from 1.8: don't decrement session count twice on NS GHOST
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1828 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 19:22:00 +00:00
cyberbotx 5b18e7144d Updated Win32 Makefile to include ss_main.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1823 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-01 01:30:14 +00:00
cyberbotx b779e4d3bb Removed Service class, if we need something like it later we can add it back, but for now it's just an extra class without a purpose.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1822 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 16:25:26 +00:00
cyberbotx 685edb9999 Set ss_main to be permanent, as well as set it's type, author, and version.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1821 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 16:17:45 +00:00
cyberbotx f62207f8d3 Fix issue with ss_main where it doesn't recreate StatServ when it's unloaded and loaded at run-time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1820 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 16:12:18 +00:00
cyberbotx 7f555f08e7 Modified BotInfo to store a pointer to a command hash table (this is so modules like ss_main can store their own commands but still have them called by the core).
Updated the current sample of ss_main to utilize BotInfo instead of Service (which might be removed) as well as accept a HELP command.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1819 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 05:50:25 +00:00
cyberbotx ccb8c76295 Added ss_main.c, a small sample showing how to create a pseudo-client from a module, will soon become StatServ though.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1817 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 04:11:25 +00:00
cyberbotx f300ac836e Add services.cpp that didn't get sent with r1814 or r1815. >.<
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1816 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 00:35:52 +00:00
cyberbotx 68deba3296 Renamed Services to Service, keeping it more in line with the naming of other classes in the core.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1815 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 00:34:19 +00:00
cyberbotx 3e9413c835 Added start of Services class to be used by new and existing pseudo-clients.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1814 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 00:34:13 +00:00
cyberbotx f9d4002ba8 Forward-port of r1754: changed error message to be more descriptive...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1813 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 21:36:21 +00:00
cyberbotx e8e95f4dfd Removed a few instances of AnopeFini that were still clutching on for dear life, only to be cut down in their prime.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1812 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 16:27:47 +00:00
rburchell be278d2bb8 Remove (void) args, these just make things ugly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 16:16:53 +00:00
rburchell 72e09121b2 Revise TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1810 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 16:03:14 +00:00
cyberbotx 000b8b3423 Removed mod_current_module, again, so far, no ill-effects...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1809 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 06:32:45 +00:00
cyberbotx f439924aa2 Removed mod_current_module_name, so far no ill-effects...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1808 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 06:20:40 +00:00
cyberbotx bdc13b4d6d Removed mod_current_user and mod_current_op, the latter of which was only an extern.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1807 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 06:00:47 +00:00
cyberbotx c11d431dd0 Removed mod_current_module and mod_current_module_name from moduleDisplayHelp().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1806 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 03:42:33 +00:00
cyberbotx b2f1f14320 Remove a few prototypes to module-related functions that were moved to the Module class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1805 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 03:16:25 +00:00
cyberbotx 7fdd8d7872 Moved moduleSet*Help() functions to Module::Set*Help().
Also corrected a few issues with tabs in the help lines for non-core modules caused from the space->tab conversion a while back.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1804 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 03:05:31 +00:00
cyberbotx bac9e520ed Moved moduleNoticeLang() to Module::NoticeLang().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1803 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 01:04:57 +00:00
rburchell bf3da7cd80 Add TODO for 1.9.1
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1802 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27 18:18:15 +00:00
cyberbotx c0c73e4abd Moved moduleGetLangString() to Module::GetLangString().
Also changed modules_unload_all() to not delete a module directly, but instead call ModuleManager::UnloadModule().

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1801 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27 05:35:34 +00:00
cyberbotx 3964ead17e Moved moduleDeleteLanguage() to Module::DeleteLanguage().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1800 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27 03:13:27 +00:00
cyberbotx 2e41f43ace A few more Win32 fixes, Anope 1.9 compiles and runs under Windows now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1799 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26 22:13:01 +00:00
pimpmylinux 797edb40ba test commit... with little todo addition :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1798 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26 19:47:57 +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 90f6431603 Fixed issue with nick changes showing the new nick as non-existing.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1796 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 21:58:24 +00:00
cyberbotx 55b6e0438d Used std::vector for MemoInfo's memos variable instead of an malloc'd array.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1795 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 21:22:10 +00:00
cyberbotx 6faec5eb4a Possible fix to the delete that explodes the world.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1794 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 11:26:24 +00:00
cyberbotx d2e3963d78 Fix another issue with writing channels in db-convert.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1793 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 02:57:45 +00:00
rburchell 2557d0b091 Fix this, delete that explodes the world.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1792 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24 23:14:41 +00:00
rburchell 0779326cce Off by one?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1791 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24 21:49:11 +00:00
cyberbotx e6acd6dc96 Fix issue with writing channels in db-convert.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1790 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 22:49:32 +00:00
cyberbotx f73beeefa2 Added small document explaining C++-style casting. Includes links to web pages explaining them as well.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1789 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 19:12:29 +00:00
cyberbotx 8431ac369b Converted many C-style casts to C++-style casts.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 19:12:20 +00:00
rburchell 5950b11a0f Fix example id
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1787 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 17:53:51 +00:00
rburchell 379983726b Various stuff for channels..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1786 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 17:53:29 +00:00
cyberbotx bfedbe0370 Fixed a potential memory leak in the config parser.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1785 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 18:24:20 +00:00
cyberbotx fb5d7d1815 Properly initialized new objects when needed so they don't contain garbage data.
Also, converted line endings in os_ignore_db from CR+LF to LF.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 02:31:23 +00:00
cyberbotx 16e667a2ce Replaced most uses of smalloc and scalloc with new, replaced most uses of free with delete.
NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 01:11:19 +00:00
rburchell 1532aa675f Fix bug leading to only one core being correctly converted
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1782 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 19:39:06 +00:00
rburchell 9aadd803eb Finish a comment it seems I only ever half started
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1781 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 18:11:05 +00:00
rburchell becf84ee20 Don't send OPERTYPE for Services pseudoclients, this should not cause problems as services are remote users, and should gain less spam on services connecting, and no need to fiddle with /lusers counts.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1780 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:58:09 +00:00
rburchell e6dfa9cf53 Don't allow registration of nicks beginning with a digit on Insp12 (disallows UID registration)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1779 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:33:10 +00:00
rburchell 36a896fba0 Remove unnecessary comment
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1778 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:32:49 +00:00
rburchell a295adfb93 Retarget some more difficult things to post 1.9.0
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1777 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 16:36:11 +00:00
rburchell 30c1a1d3e4 Write aliases and memo data in new DB format
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1776 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 16:35:57 +00:00
rburchell d0d05dc98e Save the number of channels the account has registered, also
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1775 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:03:00 +00:00