aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/plexus.c
Commit message (Expand)AuthorAgeFilesLines
* [svn] - crypto/backend/protocol -> modules•••- update documentation - note that the postgresql backend is no longer supported and will likely be removed Gravatar nenolod2007-01-131-784/+0
* [svn] Move "Setting your host to \2%s\2." notice to protocol•••modules that need it, so that it is not sent for ircds which already notify users of a host change (e.g. charybdis). Gravatar jilles2006-12-301-2/+3
* [svn] Remove more unused variables.Gravatar jilles2006-11-241-4/+2
* [svn] Replace irccmp() uses with irccasecmp().•••irccmp() is going away and whenever it was used it should have been irccasecmp(). Gravatar jilles2006-11-241-3/+3
* [svn] Move TS changed log message from LG_INFO to LG_DEBUG.Gravatar jilles2006-11-191-3/+3
* [svn] Use user_changenick() in protocol modules.Gravatar jilles2006-10-221-11/+3
* [svn] - convert userlist/uidlist to DTree.Gravatar nenolod2006-10-221-8/+4
* [svn] - Change wallops_sts() protocol function to take a••• simple string instead of a format with args. - Move config_options.silent check from protocol modules to src/services.c. - Reverse some overzealous s/wallops/&_sts/. Gravatar jilles2006-09-271-14/+4
* [svn] Apply translations to wallops.•••Add an in-between wallops() function (in src/services.c). Gravatar jilles2006-09-261-4/+4
* [svn] Make it possible for nickserv to act as userserv•••with the nickserv::no_nick_ownership option and the nickserv/login module (compiled from the same C file as nickserv/identify). It will still say "nick" or "nickname" where it should say "account". Gravatar jilles2006-09-251-4/+4
* [svn] Split notice_sts() into notice_user_sts() and notice_channel_sts().•••The new functions take object pointers instead of strings. Also add notice_global_sts() to do global notices cleanly. The TLD splitting has been moved from modules/global/main.c to the protocol modules. Gravatar jilles2006-09-211-10/+27
* [svn] Change the introduce_nick protocol function from•••(char *nick, char *ser, char *host, char *real, char *uid) to (user_t *u). This simplifies the code slightly and makes it possible to send more information about services in a clean way. For example, the nickTS sent out is now consistent with our record of it. Gravatar jilles2006-09-191-4/+4
* [svn] Update some copyright years on protocol modules.Gravatar jilles2006-09-141-2/+3
* [svn] Don't use si->origin in m_server() and similar.Gravatar jilles2006-09-141-3/+3
* [svn] Merged in sourceinfo changes to the services layer.Gravatar pippijn2006-09-101-28/+28
* [svn] Get rid of most redundant parc checks in the protocol modules.Gravatar jilles2006-09-061-14/+4
* [svn] Add two extra parameters to pcommand_add(), the minimum•••number of parameters and the allowed source types (before SERVER, user, server). Violations of this are logged at INFO level and the m_function is not called. So most code that checks for user/server or parc can be removed from m_functions (later commit). This facility should only be used for protocol violations, not things that can legitimately happen. This commit also repairs solidircd m_svhost(). Gravatar jilles2006-09-061-28/+28
* [svn] Fixed bad bug in plexus protocol module and cleaned up some unused vari...Gravatar pippijn2006-09-061-7/+13
* [svn] Started the move towards sourceinfo. This will ultimately reduce code•••duplication and make adding more "frontends" if you like, currently IRC and XML-RPC, in the future maybe JSON, much easier. Gravatar pippijn2006-09-051-121/+100
* [svn] Don't leave empty channels if all users in a channel are•••killed or invalid. More specifically, don't process a P10 JOIN or CREATE if the user does not exist, and destroy the channel created by a BURST, FJOIN, NJOIN or SJOIN if it has 0 members after processing all joins and is not set persistent (checked for all ircds, even though not all of them have such modes). Gravatar jilles2006-08-191-2/+5
* [svn] Move some protocol module specific stuff to pmodule.h,•••move stuff that's needed elsewhere out of it and do not include it from atheme.h. Gravatar jilles2006-08-161-2/+3
* [svn] Move many uplink related declarations to a new header•••file uplink.h. This header file is not included from atheme.h, restricting use of this stuff (like sts()) to files where it is explicitly included. Again some old no longer used declarations have been removed also. Gravatar jilles2006-08-161-2/+3
* [svn] Use me.recvsvr for all protocols instead of just P10.•••This indicates whether we have received a SERVER message; if this is the case all commands must come from an existing user or server (will be implemented). Note that this flag is only valid if me.connected is true. Gravatar jilles2006-07-261-2/+4
* [svn] Add channel_can_change_topic hook to allow modules to hook•••into topic changes to cancel/revert them. This is only done for topic changes coming from the IRC network, via a new function handle_topic_from() (which supplies the missing source of the topic message). Gravatar jilles2006-07-171-3/+3
* [svn] Add callbacks for non-standard type C channel modes•••(forwarding, join throttling, etc). Gravatar jilles2006-07-011-3/+3
* [svn] All m_sjoin(), TS6 m_join():•••Give channel_mode() all parameters (but not the nicklist) instead of only the first two. This also simplifies the code. Gravatar jilles2006-06-221-12/+3
* [svn] Use clear_simple_modes() wherever appropriate.Gravatar jilles2006-06-211-7/+3
* [svn] Add channel_tschange hook for TS changes due to protocol•••messages. When this is called it is safe to send mode changes as services will already have been reopped if necessary; for the rest, old modes have been cleared (if necessary) and new modes have not been set yet. This does not matter for my intended use (scheduling mlock checks) though. Gravatar jilles2006-06-201-2/+3
* [svn] Put netwide EOB support in the core (a few protocol modules•••already used this internally). This allows distinguishing between existing users coming back from a netsplit and new users. This adds a new hook server_eob with parameter server_t *s. P10 and ircnet use the protocol's specific burst detection, the others emulate it using PING/PONG. Note that in some protocols the burst detection only works locally, so it is not useful here. Gravatar jilles2006-06-191-3/+19
* [svn] All protocol modules: allow PART with multiple channels separated by co...•••Not all ircds actually send these but this keeps the m_part functions the same everywhere. Gravatar jilles2006-06-091-4/+14
* [svn] Moved netadmin to general:admin and hid it under a #define USE_NETADMIN.•••We don't endorse stuff like this but if people really want it then so be it. Gravatar jilles2006-05-201-14/+16
* [svn] - Improve support for PleXusIRCd 3.x, patch by eggy.Gravatar nenolod2006-05-201-9/+19
* [svn] - update plexus support to version 3Gravatar nenolod2006-05-161-23/+45
* [svn] Remove unused variable kline_t *k from protocol modules.Gravatar jilles2006-04-291-3/+2
* [svn] - Move handle_motd() definition and declaration to a more logical place•••- Change handle_motd() from char *origin to user_t *u - Add floodcheck on handle_motd() Gravatar jilles2006-03-281-3/+3
* [svn] - add MOTD support to more protocol modulesGravatar nenolod2006-03-281-2/+8
* [svn] - Move akill checking into a user_add hook function in••• modules/operserv/akill.c - Do not send klines for akills that have already expired - Match IP as well as host against akills (no CIDR currently) Gravatar jilles2006-02-281-12/+2
* [svn] - Don't KILL akilled users, except on ircnet (where klines don't work••• properly). This ensures kline exempt exempts from akills too. - Fix server name the klines are sent to (was sometimes wrong and was needlessly different between protocol modules). Gravatar jilles2006-02-271-9/+4
* [svn] Add support for ban-like modes other than +b (e.g. +e, +I).•••Add a type field to chanban_t; channel_t.bans now holds other ban-like modes as well. User-visible effects: these modes now work with /os mode This could be broken with some ircds (e.g. unreal). Gravatar jilles2006-01-211-6/+7
* [svn] Make join() consistently take a nick (not a uid).•••Fix wrong order of join() arguments somewhere in modules/chanserv/main.c. Gravatar jilles2006-01-191-3/+3
* [svn] Add a return value to ircd_on_logout().•••If the return value is TRUE, the user was killed to force the logout (P10). Hmm, handle_burstlogin() does not reflect this in any kind of return value. Gravatar jilles2006-01-191-5/+6
* [svn] Change handle_version/admin/info/stats/trace() from char *nick•••to user_t *u. Gravatar jilles2006-01-191-8/+8
* [svn] Change user_delete to take a user_t * instead of a nick.Gravatar jilles2006-01-191-3/+3
* [svn] Extend rejoin on kick from chanserv to all internal clients.•••This also avoids crashes if chanserv is not loaded. Gravatar jilles2006-01-041-4/+4
* [svn] strings passed to notice are now ran through the new translation cache.•••if you want to bypass the translation cache, you must now use notice_sts(). Gravatar nenolod2005-12-281-3/+3
* [svn] Add support for permanent channels in charybdis/hyperion/shadowircd.•••Channels with +P do not disappear when empty; chanserv will still leave. Gravatar jilles2005-12-241-3/+4
* [svn] Add wallchops() stuff to some protocol modules.Gravatar jilles2005-12-171-2/+13
* [svn] Repeat after me, w00t is a retard..Gravatar w00t2005-12-161-3/+3
* [svn] added *_invite_sts() to protocol modules.Gravatar w00t2005-12-161-2/+9
* [svn] Don't mess with dalnet-like +r/+e if nickserv is not enabled.•••These are only meaningful with nick registration. Gravatar jilles2005-12-091-2/+17