summaryrefslogtreecommitdiff
path: root/src/messages.cpp
AgeCommit message (Collapse)Author
2014-08-03Fix stats u on WindowsAdam
2014-05-21Core prep for p10 stuffAdam
2014-05-20Speed up akill xline checksAdam
Cache xline nick, user, host, etc instead of rebuilding it everytime its requested. Store users ip in sockaddr form and not string form to prevent having to rebuild sockaddrs when checking xlines. Also do not try to convert empty config values in Config::Get as this can be rather common if a non string configuration value is not set, and the cost of the ConvertException is great.
2014-04-25Don't allow users to join channels they are already inAdam
2014-02-27Handle nick collisions somewhat instead of blindly overwriting the nicksAdam
in memory, which does weird things. For fun different ircds implement this differently (Unreal compares timestamps, TS6 compares timestamps and user username/host), and whether or not we get a kill for our user also varies, so just kill everyone. This can't really happen anyway with properly set qlines, only if services haven't yet set the qlines, or possibly in a bot add/nick user introduce race, or with enforcers, which not many ircds require.
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-12-31I don't think this OnBotKick to hold channels is necessary anymore as Sync ↵Adam
should cover everything now, and this causes weird things when the last user in a channel kicks themselves out using the bot. Also handle users rejoining a channel while its held better.
2013-12-19Fix a few commands not being able to find non conf opersAdam
2013-11-20OnJoinChannel can modify the ts for a channel, so update keep_their_modes in ↵Adam
the sjoin handler before processing a user. Otherwise we can desync and think users have a channel status when they really don't.
2013-11-16Use the source's sync state and not mine when processing sjoins to determine ↵Adam
whether or not to sync the channel on creation, instead sync it when the server syncs.
2013-10-09Call OnBotPrivmsg after checking if the message is a ctcp, not before. fix ↵Adam
typo in opersrev.example.conf
2013-08-17Fix 318 raw being sent for uids on ts6 ircdsAdam
2013-08-01Use MessageSource as the source for many IRCDProto funcsAdam
Keep track of what user modes are oper only/server only/etc
2013-07-26Interally quit servers when jupedAdam
2013-07-08added protocol support for incoming NOTICEsDukePyrolator
2013-06-19Don't enforce usestrictprivmsg on TS6 IRCds and cache the value of ↵Adam
usestrictprivmsg
2013-06-01Move OnJoinChannel event to trigger after the user has completely joined and ↵Adam
document it more about what you should and shouldnt do in it
2013-06-01Move CheckKick event to Channel and make os_forbid use it instead of kicking ↵Adam
users in the join event, which does bad things
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per module
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.
2013-05-20Fix /join 0Adam
2013-05-12improved handling of mlocks and topiclocks on inspircdDukePyrolator
2013-05-05The const char* specialization of this no longer worksAdam
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-04-14Allow assigning service bots via /inviteAdam
2013-04-07Optimizations of much of the more commonly used codeAdam
2013-03-31Fix typo in Mode message handlerAdam
2013-02-07Use channel mode +r to determine if a channel has either been newly created orAdam
created while we were offline (eg, during the inital burst to the uplink). Fixes not knowing whether or not channels ops in non-secureop non-persistent channels obtained op while we were offline by creating the channel or legitimately by being set op by another channel op.
2013-01-21Merge usefulness of Flags and Extensible classes into Extensible, made most ↵Adam
flags we have juse strings instead of defines/enums
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-03Don't delete users immediately when quit or killed, instead wait until ↵Adam
message processing is done
2012-12-28Use the same object for chanusercontainer and userchancontainerAdam
2012-11-30Allow modules to use the encryption modules to encrypt arbitrary things.Adam
Made enc_old depend on enc_md5. Allow not loading any encryption modules if you want to only use an external mechanism. Removed ns_sendpass since it's just a bad idea.
2012-11-23Change the return type of ircdmessage to void now that we don't use it, add ↵Adam
an ircd message module event, and a few more fixups
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-11-06Sometimes capab is sent as one parameterAdam
2012-10-30Fixed build errors and warnings with -std=c++11Adam
2012-10-14Better clarify signon vs timestamp and allow updating users timestamp to an ↵Adam
ircd given value from NICK
2012-10-06Show the correct reciever nick when use strict privmsg is enabledAdam
2012-10-02Somehow the kick handler got lost in the confusion. Send the topic time with ↵Adam
ftopic on inspircd not the current time. Removed some unneeded protocol functions
2012-10-01Cleanup of all of the protocol modules, rewrote message handling system to ↵Adam
be a bit more C++ ish
2012-04-23Reworked live SQL support yet againAdam
2012-02-19Made our message sources actual clients/servers, and put in a few more ↵Adam
default messages for very standard things (KICK etc)
2012-02-14Clean up and reorganize our header filesAdam
2012-01-02Updated Copyright to 2012Adam
2011-05-21Made Anope able to process normally when disconnected from the uplink and ↵Adam
not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
2011-05-16Use module type to determine what type each module is instead of its ↵Adam
location in the configuration file.
2011-03-14Rewrote some of the opertype system, added os_loginAdam
2011-03-13Added some useful Anope::Version functions to prevent some files from ↵DukePyrolator
unnecessarily rebuilding on every make
2011-01-05update copyrights for 2011lethality