summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-11-30Fix issue with ss_main where it doesn't recreate StatServ when it's unloaded ↵cyberbotx
and loaded at run-time. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1820 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30Modified BotInfo to store a pointer to a command hash table (this is so ↵cyberbotx
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-29Added ss_main.c, a small sample showing how to create a pseudo-client from a ↵cyberbotx
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-29Add services.cpp that didn't get sent with r1814 or r1815. >.<cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1816 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29Added start of Services class to be used by new and existing pseudo-clients.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1814 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Forward-port of r1754: changed error message to be more descriptive...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1813 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed a few instances of AnopeFini that were still clutching on for dear ↵cyberbotx
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-28Remove (void) args, these just make things ugly.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_module, again, so far, no ill-effects...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1809 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_module_name, so far no ill-effects...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1808 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_user and mod_current_op, the latter of which was only an ↵cyberbotx
extern. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1807 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_module and mod_current_module_name from moduleDisplayHelp().cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1806 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Moved moduleSet*Help() functions to Module::Set*Help().cyberbotx
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-28Moved moduleNoticeLang() to Module::NoticeLang().cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1803 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27Moved moduleGetLangString() to Module::GetLangString().cyberbotx
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-27Moved moduleDeleteLanguage() to Module::DeleteLanguage().cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1800 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26A few more Win32 fixes, Anope 1.9 compiles and runs under Windows now.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1799 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26Various fixes for compiling under Windows.cyberbotx
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-25Fixed issue with nick changes showing the new nick as non-existing.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1796 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Used std::vector for MemoInfo's memos variable instead of an malloc'd array.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1795 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Possible fix to the delete that explodes the world.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1794 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Fix another issue with writing channels in db-convert.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1793 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24Fix this, delete that explodes the world.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1792 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24Off by one?rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1791 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Fix issue with writing channels in db-convert.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1790 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Converted many C-style casts to C++-style casts.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Various stuff for channels..rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1786 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Fixed a potential memory leak in the config parser.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1785 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Properly initialized new objects when needed so they don't contain garbage data.cyberbotx
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-22Replaced most uses of smalloc and scalloc with new, replaced most uses of ↵cyberbotx
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-21Fix bug leading to only one core being correctly convertedrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1782 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Finish a comment it seems I only ever half startedrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1781 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Don't send OPERTYPE for Services pseudoclients, this should not cause ↵rburchell
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-21Don't allow registration of nicks beginning with a digit on Insp12 ↵rburchell
(disallows UID registration) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1779 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Remove unnecessary commentrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1778 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Write aliases and memo data in new DB formatrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1776 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Save the number of channels the account has registered, alsorburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1775 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Save memos and access in new db.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1773 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Cleanup of some comments and includes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1772 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Convert numeric language IDs to string IDs ("en", "fr", etc) in db ↵rburchell
converter, this will allow for less fragility (and removing languages that no longer exist), and so on. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1771 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Insp12: override SendGlobopsInternal to properly send GLOBOPS, also remove ↵rburchell
hard dependancy on m_globops by sending SNONOTICE A (notice to general oper snomask) if it is not loaded on the network. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1770 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Fix ident changing being brokenrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1769 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Removed some signed/unsigned comparison warnings.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Changed integer config values that were marked PARAM_POSINT in the old ↵cyberbotx
config to unsigned integers. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1765 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Removed old example.conf and replaced with example_new.conf, services.conf ↵cyberbotx
will now be read by the new parser and not services_new.conf git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1764 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Call find_byuid() if isdigit(*nick) and ircd->ts6 (most likely looking up a ↵rburchell
uid). Fixes insp12 stuff. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1763 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Commit WIP converter, by no means final, ugly, etc, please ignore this ↵rburchell
commit! :) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1761 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Remove duplicated copy of binary_to_hex()rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1760 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Make this compile.. create NI_FORBIDDEN (temporary) and NI_NOEXPIRE to ↵rburchell
migrate settings. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1759 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Remove merging side of things.. we just want to plonk data in from one set ↵rburchell
of dbs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1758 5417fbe8-f217-4b02-8779-1006273d7864