summaryrefslogtreecommitdiff
path: root/src/protocol
AgeCommit message (Collapse)Author
2010-02-06Parse CAPAB from the server to determin what modes we know aboutAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2781 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-04We now store a list of users using a NickCore in the NickCore, this prevents ↵Adam-
having to loop every user all the time to find them git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31replaced the alog() command with a new type-safe and stream-based Alog()DukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-21Rewrote how Anope stores channel status modes on users.Adam-
This allows 3rd party modules to add and track their own status mode. Additionally we now store a users status in both the UserContainer and ChannelContainer. This also fixes the ModeStacker to not send any mode strings unnecessarially and shuffles some code around so we don't have to manually remove channels from users lists everywhere. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2775 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16Removed c_userlist and u_chanlist, replaced with std::listAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2764 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14Burned do_sjoin and rewrote it to be sane. This changes how Anope handles ↵Adam-
new channel creations drasitcally as we now truely track it all instead of hack around it by not initially tracking user joins to new channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2755 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04Changed 'char *' fields in BotInfo to 'std::string', cleanup of bots.cpp, ↵cyberbotx
changed many other functions to use 'const std::string &' arguments as a chain reaction. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2733 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with ↵Adam-
std::string git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02Convert 'const char *' and 'char *' function arguments to 'const std::string ↵cyberbotx
&' instead, done in actions.c along with chain reactions in other files. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2723 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-25Send only the newly formatted users string to do_sjoin when using ↵Adam-
inspircd12, not the old one and the new one, as this implies the old users are parameters for modes, which makes mode manager unhappy git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2717 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-23Replaced some static_casts related to modes with dynamic_cast - its a bit saferAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2715 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-20Rewrote part of extensible, it will now automatically unallocate memory for ↵Adam-
us so we don't have to manually delete it everywhere anymore git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2711 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-17Added BotInfo* sender arg to all of the User mode functions, changed ↵Adam-
IRcdProto::SendMode for channels to accept a Channel pointer and fixed unsetting users vhosts on Unreal git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2710 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16Hopefully this fixes detecting if Unreal sends a TS at the end of the mode ↵Adam-
string and removing it, which keeps it from being passed to mode handler git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2708 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16Made many of the functions in IRCDProto accept the relative object pointers ↵Adam-
instea of char* everywhere, and updated TODO git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13Added in a modestacker and rewrote almost all of the remaining old mode codeAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2696 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05Added options:mlock in the config so you can set what modes should be locked ↵Adam-
on new channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2690 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-28Massive move of all of the Config variables out of global scope to the ↵Adam-
Config class git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24Marked +l and +L on InspIRCd 1.2 as minus no argAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2662 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18Remove some CoreExports and add them in other places, fixed a few minor ↵cyberbotx
warnings under Windows build, made Windows build create a static library out of win32_memory.cpp and use that with everything instead of relying on it being compiled into everything (saves compiling time). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2656 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17Removed some unnecessary casts, used C++-style casts over C-style casts, ↵cyberbotx
fixed a few warnings (one possibly fatal one). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08Rewrote BuildStringList to use std::list instead of char**Adam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2632 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02check for umode +r before sending svsmode -rDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2603 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02added a way to load multiple encryption modules at the same and to switch ↵DukePyrolator
between encryption methods git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Added MinusNoArg to insp modes Ffj and unreal mode jAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2589 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Added internal tracking of InspIRCd1.2 channel modes BFfjMPT and user modes ↵Adam-
BcdGHIkQRSW, also added tracking of Unreal3.2s channel mode j git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2588 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25Rewrote part of news system and moved it all to os_news.c. Removed src/news.cAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2584 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20Added SUFFIXES .c .cpp .so to makefiles to clean up some of the codeAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2576 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20Fixed makesfiles to work on both bsd make and gnu makeAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2575 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20Apply some changes based on possible "flaws" found with flawfinder.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2574 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17Fix crash when trying to parse a USERHOST reply for a nonexistant user on UnrealAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2569 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-14Fixed inspircd12.cpp to actually workAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2562 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13Complete rewrite of everything associated with modes, this breaks saving and ↵Adam-
reading mlocked modes from the databases until the new databases are implemented git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2560 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11on inspircd12, we now check for m_servprotect and give +k to our pseudo clientsDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2548 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03Fix bug #1109. Anopes now replies with proper PONGs to rfc compliant PINGs .jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2529 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03Fixed TIME on InspIRCd 1.2.jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2528 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-30Removed NS_IDENTIFIED/NS_RECOGNIZED/NS_ON_ACCESS from na->status, it doesnt ↵Adam-
belong there anymore and doesnt work. Replaced nick_recognized() with User::IsRecognized() which returns if youre recognized for the nick you are on, not necessarially the account youre logged in for. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2523 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-29Fixed "make clean" to really clean up all the modulesAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2522 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-27Removed old mod_version system for detecting module versions and replaced ↵Adam-
with the Module::GetVersion() function git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26Clean up inspircd12.cpp from last commitAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2518 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26We no longer use authentication tokens with InspIRCd 1.2.jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2517 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26Fixed +r not being removed on netmerge from previously ID'd users who now ↵jantje_85
using an unregged nick. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2516 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26Fixed users not being validated if metadata is received, even though it s ↵jantje_85
for a different nickgroup. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2515 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26Added missing part of #1107 patch. The last user to be introduced is now ↵jantje_85
also validated. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2514 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26Fixed bug #1107. We now have support for IRCds that send auth after the ↵Adam-
initial NICK/UID command, and automatically reidentifying users from their account name on InspIRCd1.2 git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2513 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-20Removed the file name arg from MODULE_INITAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2510 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-14fixed a small issue in inspircd12 support, introduced with the last commitDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2504 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-14fixed inspircd12 support - now we send a TS6SID on BURSTDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2503 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12Fixes bugs #1105 and #1106Adam-
Now properly track users host changes and keep users cloaked hosts saved in memory git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2498 5417fbe8-f217-4b02-8779-1006273d7864