summaryrefslogtreecommitdiff
path: root/src/protocol/inspircd12.cpp
AgeCommit message (Collapse)Author
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-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-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-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-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
2009-09-12Correctly send modes string when introducing psuedo clients on InspIRCdadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2497 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-01Change quit on kill value in inspircd1.2 protocol module to 0Adam-
This is actually an inspircd bug - only the uplink confirms KILLs with a QUIT, the other servers will not. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2490 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24Fixed idle time and signon time when whoising services clients on inspircd1.2adam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2470 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08Remove SSYNC_UNKNOWN. All IRCds can report sync state, and for those that ↵rburchell
_really_ can't, we can find out via PING/PONG exchange anyway. We will be making use of sync state more shortly. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2441 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08ENDBURST support for inspircd(11|12).rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2440 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06Clean up some of inspircds autoid code and make it not resend account name ↵adam-
on nick change git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2435 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06do not set mode +d on identify on inspircdDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2410 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04Fixed autoidadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2404 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-27Possible bugfix for bug #1086, specifically the issue with the inspircd12 ↵cyberbotx
sending ADDKILL from the servername instead of a SID or UID and with a negative expire time. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2340 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-06New events stuff, patch totally by Adam (aka Awesome).rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2313 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-31Add SendSWhois() to inspircd12.cpp, patch by Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2306 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03Patch from DukePyrolator to include an OnUserNickChange() event to replace ↵cyberbotx
EVENT_CHANGE_NICK, also patch from me to have the ratbox protocol module send account data on login and logout. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2254 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02Remove rootmodeonid, opermodeonid, adminmodeonid - unused, and utterly ↵rburchell
useless/bad. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2238 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30Yet *neither* send HOST_OFF here..rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2224 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30Needed to apply this to 1.2 too, oops.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2223 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-25Fix bug #1009, patch inspired by DukePyrolator, add a TS6 SID generator from ↵cyberbotx
DukePyrolator, as well as change SendServer() to take a Server struct and use the result of new_server() in the SendServer() call instead. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2206 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-03Fix bug #1022, the problem was inspircd12 specific and the pseudo-clients ↵cyberbotx
will now respawn. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2142 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-25fix inspircd sending broken UID message when introducing its clientspimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2133 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23Fix SendAkill() in inspircd* modules, they were sending the wrong timestamp ↵cyberbotx
(instead of sending the current time, they were sending the time of the akill's creation). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2131 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23Updated inspircd11 module to look for m_hidechans.so module and updated ↵cyberbotx
inspircd12 module to also look for that module as well as error if m_globops.so isn't loaded. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2130 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23Fix odd crash bug in the inspircd* modules by replacing use of myStrGetToken ↵cyberbotx
with spacesepstraem, also fix a problem on Windows with not having FD_ZERO in the sgets() function before FD_SET is called, both spotted thanks to Brandan. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2126 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-15Edit IRCDVar of inspircd12 so certain modules don't load on that IRCd, and ↵cyberbotx
small cosmetic fixes on a few other protocol modules. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2052 5417fbe8-f217-4b02-8779-1006273d7864