diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
commit | 8d3d1775aeec744d54b3acfacc01cc70eadb44be (patch) | |
tree | 705674939690af9afa2b2258bb15ad0b3064e95d /src/protocol/plexus2.c | |
parent | c037e6a6e9f71f7209cda0342dcb0e9c332b6804 (diff) |
Core skeleton of IRCDProtoNew class created.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1195 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/plexus2.c')
-rw-r--r-- | src/protocol/plexus2.c | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/protocol/plexus2.c b/src/protocol/plexus2.c index 0a91194f4..f3d250ab5 100644 --- a/src/protocol/plexus2.c +++ b/src/protocol/plexus2.c @@ -206,7 +206,7 @@ plexus_set_umode (User * user, int ac, char **av) } } -/* +/* * Local valid_op, and valid_halfop overrides. * These are nessecary due to the way hybrid-based ircds handle halfops. * hybrid-based ircds treat a -o as a -h as well. So if a user is set -o, @@ -667,12 +667,12 @@ anope_event_topic (char *source, int ac, char **av) c->topic_time = topic_time; record_topic (av[0]); - + if (ac > 1 && *av[1]) send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]); else send_event(EVENT_TOPIC_UPDATED, 2, av[0], ""); - + } return MOD_CONT; } @@ -930,20 +930,20 @@ plexus_cmd_svinfo () /* CAPAB */ /* QS - Can handle quit storm removal - EX - Can do channel +e exemptions + EX - Can do channel +e exemptions CHW - Can do channel wall @# - LL - Can do lazy links - IE - Can do invite exceptions + LL - Can do lazy links + IE - Can do invite exceptions EOB - Can do EOB message - KLN - Can do KLINE message - GLN - Can do GLINE message + KLN - Can do KLINE message + GLN - Can do GLINE message HOPS - can do half ops (+h) - HUB - This server is a HUB - AOPS - Can do anon ops (+a) + HUB - This server is a HUB + AOPS - Can do anon ops (+a) UID - Can do UIDs ZIP - Can do ZIPlinks - ENC - Can do ENCrypted links - KNOCK - supports KNOCK + ENC - Can do ENCrypted links + KNOCK - supports KNOCK TBURST - supports TBURST PARA - supports invite broadcasting for +p ENCAP - ? @@ -1714,7 +1714,7 @@ plexus_cmd_jupe (char *jserver, char *who, char *reason) new_server (me_server, jserver, rbuf, SERVER_JUPED, NULL); } -/* +/* 1 = valid nick 0 = nick is in valid */ @@ -1725,7 +1725,7 @@ plexus_valid_nick (char *nick) return 1; } -/* +/* 1 = valid chan 0 = chan is in valid */ @@ -1839,7 +1839,7 @@ moduleAddAnopeCmds () pmodule_set_umode (plexus_set_umode); } -/** +/** * Now tell anope how to use us. **/ int @@ -1872,6 +1872,7 @@ AnopeInit (int argc, char **argv) pmodule_limit_mode (CMODE_l); moduleAddAnopeCmds (); + pmodule_ircd_proto(&ircd_proto); moduleAddIRCDMsgs (); return MOD_CONT; |